Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: help with regex

by graff (Chancellor)
on May 05, 2013 at 23:52 UTC ( #1032158=note: print w/replies, xml ) Need Help??


in reply to help with regex

Your "Regex 1" matches because the space that precedes the backslash is neither a newline character nor a backslash. The only difference between Regex 1 and Regex 2 is that the latter will only match if the backslash is preceded by space, whereas in Regex 1, the backslash can be preceded by anything other than a newline or another backslash.

Replies are listed 'Best First'.
Re^2: help with regex
by rnaeye (Pilgrim) on May 06, 2013 at 00:23 UTC

    Thanks for the help. It's simple after you explained it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032158]
help
Chatterbox?
[james28909]: yeah but it would rename those subs xD
[Lady_Aleena]: I'd say, go back to my scratchpad, and really look at what the 3 subs are doing, then play. Meanwhile, I am going afk for about an hour +/- a few minutes.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-05-24 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?