Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

(Dermot) & #61 not matching because of # character

by Dermot (Scribe)
on Sep 28, 2000 at 20:56 UTC ( #34428=note: print w/replies, xml ) Need Help??

in reply to (Dermot) Re: Big
in thread Big, bad, ugly regex problem

In an /x modified regex the # character is the comment character. The & #61 which represents a space character isn't matching. Instead the & is matching and the #61 to end of line is seen as a comment. Subsequently $3 doesn't match at all due to its optionality and the fact that [^;]+ is greedy.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2016-10-25 16:46 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (325 votes). Check out past polls.