On Wednesday, January 14, 2004, Patrick G. wrote...

> I have the following regex which works fine in RegExTest

>   ^\".{2,}\"\s\-{2}.{20}

> But when I add it to a macro filter to extract this match to a file

>     %REGEXPTEXT="^\".{2,}\"\s\-{2}.{20}"

> I get the followng error:

>  *** Error: \ at end of pattern ***.{2,}\"\s\-{2}.{20})"

You might want a quick change... you have multiple "" in there, that
might cause an issue.  Try it like this:

  %REGEXPTEXT='^\".{2,}\"\s\-{2}.{20}'

That way the ' enclose the " and make them part of the search instead
of the first and second being matched for each other, and splitting
the regex in a weird way.

-- 
Jonathan Angliss
([EMAIL PROTECTED])

paranoia: believing this tagline is about you.

Attachment: pgp00000.pgp
Description: PGP signature

________________________________________________
Current version is 2.02.3 CE | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to