--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> --- In [email protected], "Sheri" <sherip99@> 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.
Will test.
> pcrereplacecallback, ....
was broken. Try regexTest_090115.zip
test 25 works with
local sScript = cbx("@callback", "yes")
with
Function callback(pCaptureVec, sUserArg)
....
win.debug("sUserArg is: " ++ sUserArg)
quit
In callback, user-supplied var_name separated from script with blank.
This no longer works, or is unsafe, cause script can include a path
which can include blanks. Therefore suggest var_name if present
separated from script with | (fence).
For docs:
var_name now detected whether static, global or local
(statics probably missed before).
Illegal variable_name detected.