What is the difference between \b and \< \>?
It seems like you can't tell the difference in general.
Once I found the difference, it seems that one contains boundaries while the other only contains in-bounds.
I can't find an obvious example.
It seems like you can't tell the difference in general.
Once I found the difference, it seems that one contains boundaries while the other only contains in-bounds.
I can't find an obvious example.
Maybe a language thing - I'm not saying you'll get the same results - I'm showing the differences the searches can make and how 1 or the other can show different results.
Maybe rules are different in different languages.
I seem to know roughly the difference between \< \> and \b.
\< \> is bounded by (but not including) the punctuation or \s.
\b is bounded by the left and right of the punctuation or \s.
Use these two to see the difference:
(? <=\<). +? (? =\>)
(? <=\b). +? (? (=\b)
There is no difference in general use.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.