--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> Also the javascript test (test 92) didn't work. In console
> pcretest test, the pattern equivalent to ?"[" with javascript
> option gives a compile error:
> 
> "Failed: missing terminating ] for character class at offset 1"
> 

Sorry, the correct test (92) is for pattern ?"]" not ?"["

Console pcretest program gives this compile error:

Failed: ] is an invalid data character in JavaScript compatibility
mode at offset 0

plugin test version currently doesn't detect the error, and matches
the same as without the javascript option.

New plugin options bsr_unicode and bsr_anycrlf are working correctly.

pcrereplacecallback, with old argument format
"."++scriptname++"@function", the callback function is being run, but
the replacement text is not is not being returned by the
regex.pcrereplacecallback function (getting an empty string instead).

I couldn't figure out what new format might work.

Regards,
Sheri


Reply via email to