Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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)


Comment on Re: Regex word boundary and escaped characters
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://425415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2015-07-30 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls