Re: interpoliation within regexp
- From: mumia.w.18.spam+nospam@xxxxxxxxxxxxx (Mumia W.)
- Date: Thu, 28 Sep 2006 14:40:34 -0500
On 09/28/2006 12:04 PM, Derek B. Smith wrote:
******************************************
The input data is a 6 character randomized string that
could start with a # such as 6FhJ9Z. If it does start
with a number then I need to convert this character
into its cooresponding alpha char, [a-z,A-Z].
The output data from the string 6FhJ9Z should be
[a-z,A-Z]FhJ9Z I guess what I am asking for is not
plausible after looking at the ASCII table b/c there
is no cooresponding letter for number 6. Silly me, ok
then maybe grab any [a-z,A-Z] character.
my $foo = pack("C*", 6); print $foo;
or
chr ('6');
What is the purpose of this program?
.
- Follow-Ups:
- Re: interpoliation within regexp
- From: Derek B. Smith
- Re: interpoliation within regexp
- References:
- Re: interpoliation within regexp
- From: Derek B. Smith
- Re: interpoliation within regexp
- Prev by Date: Re: regex help needed
- Next by Date: Re: hash slices
- Previous by thread: Re: interpoliation within regexp
- Next by thread: Re: interpoliation within regexp
- Index(es):