Perl: regular expression explanation
The tutor follows up on his post about the variable password checker. In my Nov 18 post I show a short script that checks a three-digit entry for a match with the pattern m[any character]m. The entry m4m is a …
The tutor follows up on his post about the variable password checker. In my Nov 18 post I show a short script that checks a three-digit entry for a match with the pattern m[any character]m. The entry m4m is a …
The tutor shows off some of Perl’s pattern matching (aka regex) talents. Let’s imagine you have a laptop you share with a friend for project work. They’re not million-dollar secrets you’re keeping, but on the other hand, you don’t want …
Perl: a password (sort of) using regular expression (regex) power Read more »
The tutor introduces Javascript regex. Regex, aka regular expressions, is a programming concept. One regex function searches input for a given pattern, then reports presence or absence. Another, upon finding the pattern, might change it among the rest of the …