Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Reversing Arabic String directionby LanX (Saint) |
on Jul 10, 2014 at 22:41 UTC ( [id://1093149]=note: print w/replies, xml ) | Need Help?? |
building on this, you'll need a second reverse and substitute numbers only
\p{N} is a guess, I'll check now¹! :)
updatechanged order of inversion to make it clearer.
Cheers Rolf (addicted to the Perl Programming Language) ¹) perlre only mentions \p{Digit} and \p{isDigit} ... both work for me.
In Section
Seekers of Perl Wisdom
|
|