DEV Community

Discussion on: Learn regex the easy way

Collapse
 
sabberworm profile image
Raphael Schweikert • Edited

Very good introduction, thanks for the writeup. My only beef with it is that it does not explain the \b metacharacter, which is both one of the most confusing and one of the most useful tokens in regex. Confusing because it does not match a character at all, in fact it matches nothing (like ^ and $) but it does so only at the places where a word ends or begins, which is why it’s so useful…

Collapse
 
magarcia profile image
Martin Garcia

I didn't know about \b, thanks for sharing it.