From: Yves Orton Date: Sun, 21 May 2006 19:32:15 +0000 (+0200) Subject: Re: [PATCH] optimize /[x]/ to /x/. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b9684085592577dd99b830454d34a064ea9e830;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH] optimize /[x]/ to /x/. Message-ID: <9b18b3110605211032n5035d2cfne703514d8271e181@mail.gmail.com> New tests. p4raw-id: //depot/perl@28269 --- diff --git a/t/op/re_tests b/t/op/re_tests index 8c8beb1..03afa19 100644 --- a/t/op/re_tests +++ b/t/op/re_tests @@ -70,6 +70,11 @@ a.*c axyzc y $& axyzc a.*c axyzd n - - a[bc]d abc n - - a[bc]d abd y $& abd +a[b]d abd y $& abd +[a][b][d] abd y $& abd +.[b]. abd y $& abd +.[b]. aBd n - - +(?i:.[b].) abd y $& abd a[b-d]e abd n - - a[b-d]e ace y $& ace a[b-d] aac y $& ac