Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Glenn Jackman
April 16, 2008, 7:42 pm
rate this thread
You want s/(\d)(\d)/"x" x length($1) . $2/eg
Note the 'e' modifier
"If there is anything the nonconformist hates worse than a conformist,
it's another nonconformist who doesn't conform to the prevailing
standard of nonconformity." -- Bill Vaughan
- » Re: counting the number of characters that were matched in a regular expression
- — Previous thread in » PERL Discussions
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum