3 ms·
>/h.llo/ the '.' matches any one character other than a new line character... matches 'hello', 'hallo' but not 'h llo' in the cheatsheet is false. (https://re
by adambowles 7y ago
>/h.llo/ the '.' matches any one character other than a new line character... matches 'hello', 'hallo' but not 'h llo'
in the cheatsheet is false. (https://regexr.com/4tc48 https://regexr.com/4tc48)
`.` can match any character except linebreaks (including whitespace)
- jodrellblank 7y ago`.` "can" match any character including linebreaks if the regex engine is in re.DOTALL mode (Python) or SingleLine Mode (.Net).