ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonese <gig...@gmail.com>
Subject replaceregexp issues...
Date Fri, 15 Feb 2008 20:01:41 GMT
Ok i have this:

<replaceregexp file="database.sql" match="\0" replace="" flags="g" />

and i keep getting this error when i run my ant task

BUILD FAILED
C:\working\isirv\build.xml:151:
java.util.regex.PatternSyntaxException: Illegal octal escape sequence
near index 2
\0
  ^

The error is pointing to whatever occurs AFTER the \0

i've tried
[\0]
\0
\0{1,}
(\0){1,}
[\0]{1,}

same thing.

anyone? i tought this was supposed to allow for PERL5 syntax??

jonese

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message