|
|
| Do you know where your variables are? | |
| PerlMonks |
(Dermot) & #61 not matching because of # characterby Dermot (Scribe) |
| on Sep 28, 2000 at 20:56 UTC ( #34428=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||