in reply to Re: Quarms with RegEx
in thread Quarms with RegEx
is logically equivalent to:if ($curline !~ /^#\s/ or $curline !~ /^\s/)
because every string will either A.) not start with a '#' or B.) not start with a space.if (1)
Might I recommend a smarter regex rather than anding two simple ones together?
if ($curline !~ /^#?\s/)
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Quarms with RegEx
by busunsl (Vicar) on Aug 28, 2001 at 12:57 UTC | |
by blakem (Monsignor) on Aug 28, 2001 at 13:31 UTC | |
by busunsl (Vicar) on Aug 28, 2001 at 13:53 UTC |