http://www.perlmonks.org?node_id=1190947


in reply to Re: \b in Unicode regex
in thread \b in Unicode regex

The string I tried to match (that $_) is actually found twise in $string. In the first time it's indeed preceded by _, but in the second time it's between a space and a ,

That you all for your time, again.

Replies are listed 'Best First'.
Re^3: \b in Unicode regex
by kcott (Archbishop) on May 24, 2017 at 04:51 UTC

    I was certain that I checked that before posting my reply; however, I went back and doubled checked just now.

    שפירא

    occurs only once, in the substring

    ה_שפירא.mp3

    We can only comment on the data you show us.

    — Ken

      That's not really important, now that the issue is solved. However, that substring does indeed appear twise. I don't know if your browser works like mine, but if it does, then the substring you refer to occurs in the third line of the big string I posted, and the second occurance is in the 7th and 8th lines (my browser prints a + sign at every linebreak. Maybe that's what confused you).

      Again, thank you all Monks for your time and help.