in reply to Re: Problem with Regex
in thread Problem with Regex
and still showing nothingsub My_Regex { my($raw_text, $tag) = @_; $raw_text =~ /<$tag>{1}(?s:.)(<\/$tag>){1}/; my $output = $1; print "OUTPUT: $output\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem with Regex
by jethro (Monsignor) on Aug 01, 2011 at 10:30 UTC | |
|
Re^3: Problem with Regex
by JavaFan (Canon) on Aug 01, 2011 at 10:24 UTC |