Hacker News new | ask | show | jobs
by jasonm23 1401 days ago
Or use [.] so it's super clear on the a-human-is-reading-it parse.
1 comments

I don't think that's clearer because for [.] I need to remember that . does not need to be escaped in character classes whereas \. is quite clearly an escaped literal character without any advanced regexp knowledge.