Comment

Comment by adambowles

>/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)

parent adambowles 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton