Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^5: Seeker of Regex Wisdom (strings which don't form specific patterns)by shmem (Chancellor) |
on Aug 13, 2015 at 12:29 UTC ( [id://1138419]=note: print w/replies, xml ) | Need Help?? |
Unfortunately, capture groups don't change their numbering under a counted quantifier One way to overcome that is keeping track oneself:
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Seekers of Perl Wisdom
|
|