Re: replaceregexp issues...

2008-02-15 Thread Gilbert Rebhan
> Ok i have this: > > and i keep getting this error when i run my ant task > near index 2 > \0 the match attribute should contain your regular expressions (where btw in java '\' has to be masked with a leading '\' so it should be '\\') not a group, a '\' followed by a digit means a specific gro

Re: replaceregexp issues...

2008-02-15 Thread jonese
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: > > > > and i keep getting this error when i run my ant task > > BUILD FAILED > C:\working

replaceregexp issues...

2008-02-15 Thread jonese
Ok i have this: 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,}