17 notes &
Perl Regex Wild Card & Newlines
In Perl, the generic wildcard character is .. A period inside a regular expression will match any character, except a newline. For example, the regexp /a.b/ will match anything that contains a, another character that’s not a newline, followed by b - “aab,” “a3b,” “a b,” and so forth.