growlf has asked for the wisdom of the Perl Monks concerning the following question:
Hi folx.
Got an odd one that I am sure is simple - but all the reading of http://www.perldoc.com/perl5.6.1/pod/perlre.html does not clear it up for me.
I am helping a comrade out, and what he wants to do is take a given string that has some ASCII codes in it, convert them to ASCII characters and hand it back. I thought I could do this in a single regex - but so far I seem to be missing something. I also need to state that the ASCII values are in decimal - not hex, wide hex, or oct - and this further confused my as to a solution.
Thank you for any help you give on this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex converting Binary to ASCII
by jmcnamara (Monsignor) on Mar 19, 2002 at 23:31 UTC | |
by tachyon (Chancellor) on Mar 20, 2002 at 11:55 UTC | |
by growlf (Pilgrim) on Mar 19, 2002 at 23:34 UTC | |
|
Re: Regex converting Binary to ASCII
by lestrrat (Deacon) on Mar 19, 2002 at 22:59 UTC |