Martin A has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl my $string = "Helloa, this is the string"; my $chars = ['A'..'Z', 'a'..'z', '0'..'9']; if ($string =~ # Some sexy reqex #) { print "Okaj your alright, way to go mate."; } else { print "No way man, you'r outa here"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Some sexy regex
by suaveant (Parson) on Apr 05, 2001 at 22:07 UTC | |
|
Re: Some sexy regex
by dws (Chancellor) on Apr 05, 2001 at 22:23 UTC | |
|
Re: Some sexy regex
by extremely (Priest) on Apr 05, 2001 at 22:22 UTC | |
|
Re: Some sexy regex
by runrig (Abbot) on Apr 05, 2001 at 22:13 UTC | |
|
Re: Some sexy regex
by chromatic (Archbishop) on Apr 06, 2001 at 00:02 UTC | |
by parv (Parson) on Mar 19, 2003 at 08:04 UTC | |
|
Re: Some sexy regex
by the_slycer (Chaplain) on Apr 05, 2001 at 22:08 UTC | |
|
Re: Some sexy regex
by larrylarru (Initiate) on Apr 06, 2001 at 01:32 UTC | |
by Anonymous Monk on Mar 19, 2003 at 07:39 UTC |