Ad
  • Custom User Avatar

    The first three parentheses are lookaheads to determine whether the given string contains a lowercase letter, an uppercase one and a digit. Then the "main" part goes, which target is to match only strings of size 6 or more containing only appropriate symbols.

    P.S. The first three parentheses are not enough to solve the task, since the string aA1# can match, which is obviously is not needed.

  • Custom User Avatar

    Wrote my first 64-bit C++ assembler interpreter on my CS studies in university. Then it was about 1000 lines of code (although there were about a hundred functions instead of 20). Now it is 150 lines in JS. Pretty kata, i like it!