|Keep It Simple, Stupid|
PERL Regular expressionby Anonymous Monk
|on Sep 03, 2010 at 18:21 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
This might be a merely question; but made me to be in perplexed state. The following regular expression I wrote is to validate a self closing tag in the XML. If there is more than one tag in the current line; I would handle in elsif (next line).
But I got the flowing result:
From the above result; the value for 4 is the issue. The value for 3 is "; therefore ([^\3]*) should not have this double quote in its value. But the result 4 has two double quotes. How this happen? Can you please help me in this regard?
Thanks in advance.