Re: [pcre-dev] 7.7 Release Candidate available

Top Page
Delete this message
Author: Issaana
Date:  
To: Pcre-dev
Subject: Re: [pcre-dev] 7.7 Release Candidate available
Hello,

> ChangeLog for PCRE
> ------------------
>
> Version 7.7 28-Apr-08
> ---------------------
>
> 13. Added the PCRE_JAVASCRIPT_COMPAT option. This makes the following changes
>     to the way PCRE behaves:

>
>     (a) A lone ] character is dis-allowed (Perl treats it as data).


I tried the following script by some browsers on Windows.

    document.write('a]b'.match(/a]b/) + '<br>');


IE7, Firefox3, Safari3 and Opera9 seem to treat a lone ] character as
data.

Thanks,
Issaana