I see that there is the \b which I have never used and I was wondering if someone can give me use cases when it is not possible to do without \b.
I see that there is the \b which I have never used and I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They match on different things –
\smatches on whitespace,\bon word boundaries.One good example is the character
..In the string
hello.hi:\swill not match., but\bwill match before and after it.