powerhouse has asked for the wisdom of the Perl Monks concerning the following question:
Doing the first one, I'm getting this error:if ($_e_if =~ /(\/|\"|\,)/) { $_e_if = s|(\/|\"|\,)||g; # Get rid of the / and/or " and/or , } if ($_e_if =~ /\\/) { $_e_if = s|\\||g; # Get rid of the \ }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex "filters", stripping characters
by diotalevi (Canon) on Jan 26, 2004 at 05:14 UTC | |
by powerhouse (Friar) on Jan 26, 2004 at 07:38 UTC | |
by Aragorn (Curate) on Jan 26, 2004 at 08:32 UTC | |
by exussum0 (Vicar) on Jan 26, 2004 at 12:38 UTC | |
|
Re: regex "filters", stripping characters
by Paladin (Vicar) on Jan 26, 2004 at 04:49 UTC | |
by powerhouse (Friar) on Jan 26, 2004 at 05:00 UTC | |
|
Re: regex "filters", stripping characters
by Mr. Muskrat (Canon) on Jan 26, 2004 at 05:12 UTC | |
|
Re: regex "filters", stripping characters
by Vaati (Sexton) on Jan 26, 2004 at 14:37 UTC |