Quantcast
Channel: What is a word boundary in regex? - Stack Overflow
Viewing all articles
Browse latest Browse all 14

Answer by user4779 for What is a word boundary in regex?

$
0
0

Reference: Mastering Regular Expressions (Jeffrey E.F. Friedl) - O'Reilly

\b is equivalent to (?<!\w)(?=\w)|(?<=\w)(?!\w)


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>