"be consistent" | |
PerlMonks |
Re: RegEx for incorrectly closed HTML attribute?by boo_radley (Parson) |
on Nov 29, 2002 at 05:14 UTC ( [id://216421]=note: print w/replies, xml ) | Need Help?? |
well, if you're just interested in finding unmatched quotes, you could print "unmatched quote" if tr/"// %2;,
but you might be interested in making sure people close tags, and otherwise generate valid html. That might not involve a regex, though.
In Section
Seekers of Perl Wisdom
|
|