Better HN
topnewbestaskshowjobs
Log inSign up

vonox

1 karma · joined Apr 7, 2015 (11y ago) · 3 submissions

Submissions

comment 7y ago · link · parent

I also use an alternative regex syntax to improve readability. For example:

re ("abc" | ["0"-"9"]+)

means this:

/abc|[0-9]+/

(You can put whitespaceses into the literal)

comment 7y ago · link · parent

Thanks

3.

Best syntax for a regex literal

1 points · by vonox · 7y ago · 4 comments