in reply to Matching text between tags
Please try replacing if with while .
Or use list context @underlined= $text =~ //gs
Btw the /s will help . matching newlines.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching text between tags
by Anonymous Monk on Apr 14, 2016 at 15:57 UTC | |
by LanX (Saint) on Apr 14, 2016 at 16:10 UTC |