good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
One reason the regular expression does not match is because you do not have the string "movie" in your test.txt file. There may be other reasons, but I would start with that.
Also, you should first check if the regex matched before trying to use $1. There are plenty of good HTML parsers available; why do you want to re-invent that wheel? In reply to Re: Regular Expression Matching Issue
by toolic
|
|