webshark has asked for the wisdom of the Perl Monks concerning the following question:
davis,N brown,Y smith,Y,N,B jones,N,Y,B,A clarke,Y,N,Y
if ($string =~ /^brown,Y/gi) {do this} else {do this}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regular expressions with commas?
by ambrus (Abbot) on Dec 10, 2005 at 10:46 UTC | |
by Happy-the-monk (Canon) on Dec 10, 2005 at 11:02 UTC | |
|
Re: regular expressions with commas?
by osunderdog (Deacon) on Dec 10, 2005 at 11:02 UTC | |
by chas (Priest) on Dec 10, 2005 at 14:49 UTC | |
by osunderdog (Deacon) on Dec 10, 2005 at 22:33 UTC | |
by webshark (Acolyte) on Dec 10, 2005 at 11:33 UTC | |
|
Re: regular expressions with commas?
by Anonymous Monk on Dec 10, 2005 at 11:37 UTC |