This program is useful to test out a pattern on some strings and see
just what it matches, and where:
#!/usr/bin/perl
while (<>) { # take one input line at a time
chomp;
if (/YOUR_PATTERN_GOES_HERE/) {
print "Matched: |$`<$&>$'|\n"; # Mystery code! See the text.
} else {
print "No match.\n";
}
}