Angel has asked for the wisdom of the Perl Monks concerning the following question:
I have been trying to learn regex and well I am having some trouble:
I though this would return true if any chracters other than the ones in the brackets were returned:
=~ /^[A-Za-z0-9]/
but I try something like æ ( hlding down alt and pressing 145 ) and it does not trip the fucntion. If I am trying to get a true value ( for error checking ) am I doing this the right way?
Angel
I though this would return true if any chracters other than the ones in the brackets were returned:
=~ /^[A-Za-z0-9]/
but I try something like æ ( hlding down alt and pressing 145 ) and it does not trip the fucntion. If I am trying to get a true value ( for error checking ) am I doing this the right way?
Angel
update (broquaint): added <code> tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Regex help
by strider corinth (Friar) on Nov 16, 2002 at 13:59 UTC | |
Re: Regex help
by mikeirw (Pilgrim) on Nov 16, 2002 at 13:54 UTC | |
Re: Regex help
by jreades (Friar) on Nov 16, 2002 at 13:58 UTC | |
by fruiture (Curate) on Nov 17, 2002 at 12:00 UTC | |
Re: Regex help
by Anonymous Monk on Nov 16, 2002 at 22:02 UTC | |
Re: Regex help
by Anonymous Monk on Nov 18, 2002 at 09:08 UTC | |
Re: Regex help
by Ananda (Pilgrim) on Nov 18, 2002 at 11:04 UTC |
Back to
Seekers of Perl Wisdom