Hacker News new | ask | show | jobs
by uses 1340 days ago
How am I supposed to match two entirely different words? Atomic groups with | don't seem to work. Not something I'd use regex for anyway. What am I missing here?
1 comments

/wordone|wordtwo/g

There's a video of it being played here: https://youtu.be/da0GyuwaY_Y