DEV Community

Discussion on: Quirks in Javascript regular expressions

Collapse
 
kenbellows profile image
Ken Bellows

This is a pretty interesting subtlety I've never come across. I'm pretty good at regex, especially on JavaScript, I've gone preeety deep with the nuances and complexities, but I would have had a pretty hard time figuring out why it produced 2 "w"s. Thanks for the knowledge!