in reply to Re: Problem with <> and regex
in thread *fixed*Problem with <> and regex
sub clean { my ($words) = @_; print "WordsBefore: $words \n"; $word =~ s/<[^>]+>//g; print "WordsAfter: $words \n"; return $words; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem with <> and regex
by golux (Chaplain) on Mar 11, 2014 at 15:23 UTC |