Dear Perlmonks
Applying the following code
while ($_ =~ /({\d+})/ || $_ =~ /({\w+>)/ || $_ =~ /(<\w+})/){ print "$1\n"; }
to this text
This is <i} a test {i> sentence <i}I get
{i> <i} <i}Is there any way to get them according to their occurrence? So,
<i} {i> <i}Thanks
In reply to Matching patterns with or by corfuitl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |