\b and \B are confused
益伦
益伦 2017-11-18 00:40:24
0
3
1535

1. Can any master explain it in an easy-to-understand way?

2. What is the difference between putting \B in front and behind

$zz = '/\Bthis/' and $zz = '/this\B/'

益伦
益伦

reply all(2)
myfey

/Definition starting point, \b is escape, personal understanding.

  • reply Thank you for your answer, but it doesn’t seem to make sense.
    益伦 author 2017-11-28 22:12:57
路过

Personal understanding

You are talking about regular matching, right?

The former matches xxxthis
The latter matches thisxxx

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template