News for hackers. Stuff that matters.
Re:Show HN: Regex Cheatsheet by adambowles on Friday January 31, 2020 @10:47AM (#22202574)
>/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)

`.` can match any character except linebreaks (including whitespace)

Re:Show HN: Regex Cheatsheet by jodrellblank on Friday January 31, 2020 @05:53PM (#22206772)
`.` "can" match any character including linebreaks if the regex engine is in re.DOTALL mode (Python) or SingleLine Mode (.Net).