in reply to Re: Seeking an Enlightened Path (Parsing, Translating, Translocating)
in thread Seeking an Enlightened Path (Parsing, Translating, Translocating)
I am no good with regex, but the solution is a viable one if I can configure the number of characters (instead of *). For instance, if I could do something like:
$_ =~ s/(\D[1-10])(\D[11-16]) ... /$3$4$1$2/g;
That would work for input. Could I configure the second part of the search dynamically?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Seeking an Enlightened Path (Parsing, Translating, Translocating)
by olus (Curate) on Mar 10, 2008 at 22:45 UTC | |
by nanotasher (Novice) on Mar 11, 2008 at 14:50 UTC |