Got it....

needed to use Unicode Equivilent \p{IsCntrl}

FYI for those who need it:

http://perldoc.perl.org/perlre.html

jonese

On Feb 15, 2008 3:01 PM, jonese <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to