Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Regex word boundary and escaped characters

by Paladin (Priest)
on Jan 26, 2005 at 23:13 UTC ( #425415=note: print w/replies, xml ) Need Help??

in reply to Regex word boundary and escaped characters

No, it's doing exactly as it states. @ matches \W and the start of the string also "matches" \W, so there is no \b between them. Same goes for the string starting with +. In the third example, t matches \w so the \b matches the space between the start of the string (\W) and the t (\w)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://425415]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2016-12-03 12:42 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (55 votes). Check out past polls.