[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regexp problem



On Mon, Sep 08, 2003 at 02:08:58PM +0100, Jason Chambers wrote:
--snip--
> > I modified it in order to get rid of the latter by adding
> > (\([._[:alnum:]-]+\)|) giving me:
> > 
> > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPREQUEST for
> > [.0-9]+ (\([\.0-9]+\) |)from [:[:alnum:]]+ (\([._[:alnum:]-]+\)|) via
> > [[:alnum:]]+$
> > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPACK on [.0-9]+ to
> > [:[:al\num:]]+ (\([._[:alnum:]-]+\)|) via [[:alnum:]]+$
> 
>                  ^^^^^^^^^^^^^^^^^^^^^^^
> You need to move one of the spaces into the optional part, otherwise
> with no "(guts)" part the rule is looking for 2 consecutive spaces.

I knew it was bound to be a stupid mistake. :) Thanks! :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: pgpLBJ1Yzn5lf.pgp
Description: PGP signature


Reply to: