|
|
| We don't bite newbies here... much | |
| PerlMonks |
Replacing string with its length in Regexby Brovnik (Hermit) |
| on Jul 27, 2001 at 20:25 UTC ( #100355=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Brovnik has asked for the
wisdom of the Perl Monks concerning the following question:
I have a sub which converts e.g.
Spec: output is comma separated list of run lengths of the 'X' parts. The sub is : Is there a Regex way of doing the last line ? I'd like to be able to do e.g. But this if course doesn't do what I need. -- Brovnik
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||