Autor: ph10 Data: Para: Ze'ev Atlas CC: pcre-dev@exim.org Asunto: Re: [pcre-dev] Treatment of \x5b and \x5d
On Fri, 19 Sep 2014, Ze'ev Atlas wrote:
> It seems like the second pattern does not really contain any class. I
> tried it in Perl (5.18) on my Windows machine and the only thing that
> matches that second pattern was the string "[a-z]0-9]". And frankly,
> I did not expect otherwise! Basically using '\x5b' should be similar
> to using '\[', meaning that you want the actual '[' character rather
> than the special '[' meta-character. I may be wrong but I recall that
> this is how it was explained in the regex school.