/[pcre]/code/trunk/testdata/testinput6
ViewVC logotype

Diff of /code/trunk/testdata/testinput6

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 354 by ph10, Mon Jul 7 16:30:33 2008 UTC revision 448 by ph10, Tue Sep 15 19:11:48 2009 UTC
# Line 60  Line 60 
60      ** Failers      ** Failers
61      \x{09f}      \x{09f}
62    
 /^\p{Cs}/8  
     \?\x{dfff}  
     ** Failers  
     \x{09f}  
   
63  /^\p{Ll}/8  /^\p{Ll}/8
64      a      a
65      ** Failers      ** Failers
# Line 199  Line 194 
194      }      }
195      \x{f3b}      \x{f3b}
196    
 /^\p{Sc}+/8  
     $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6}  
     \x{9f2}  
     ** Failers  
     X  
     \x{2c2}  
   
197  /^\p{Sk}/8  /^\p{Sk}/8
198      \x{2c2}      \x{2c2}
199      ** Failers      ** Failers
# Line 237  Line 225 
225      X      X
226      \x{2028}      \x{2028}
227    
 /^\p{Zs}/8  
     \ \  
     \x{a0}  
     \x{1680}  
     \x{180e}  
     \x{2000}  
     \x{2001}  
     ** Failers  
     \x{2028}  
     \x{200d}  
   
228  /\p{Nd}+(..)/8  /\p{Nd}+(..)/8
229        \x{660}\x{661}\x{662}ABC        \x{660}\x{661}\x{662}ABC
230    
# Line 291  Line 268 
268        ** Failers        ** Failers
269        \x{660}\x{661}\x{662}ABC        \x{660}\x{661}\x{662}ABC
270    
 /\p{Lu}/8i  
     A  
     a\x{10a0}B  
     ** Failers  
     a  
     \x{1d00}  
   
 /\p{^Lu}/8i  
     1234  
     ** Failers  
     ABC  
   
 /\P{Lu}/8i  
     1234  
     ** Failers  
     ABC  
   
271  /(?<=A\p{Nd})XYZ/8  /(?<=A\p{Nd})XYZ/8
272      A2XYZ      A2XYZ
273      123A5XYZPQR      123A5XYZPQR
# Line 323  Line 283 
283      ** Failers      ** Failers
284      WXYZ      WXYZ
285    
 /[\p{L}]/DZ  
   
 /[\p{^L}]/DZ  
   
 /[\P{L}]/DZ  
   
 /[\P{^L}]/DZ  
   
 /[abc\p{L}\x{0660}]/8DZ  
   
 /[\p{Nd}]/8DZ  
     1234  
   
 /[\p{Nd}+-]+/8DZ  
     1234  
     12-34  
     12+\x{661}-34  
     ** Failers  
     abcd  
   
286  /[\P{Nd}]+/8  /[\P{Nd}]+/8
287      abcd      abcd
288      ** Failers      ** Failers
# Line 394  Line 334 
334      ** Failers      ** Failers
335      ABC      ABC
336    
 /\p{Ll}/8i  
     a  
     Az  
     ** Failers  
     ABC  
   
 /^\x{c0}$/8i  
     \x{c0}  
     \x{e0}  
   
 /^\x{e0}$/8i  
     \x{c0}  
     \x{e0}  
   
337  /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8  /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
338      A\x{391}\x{10427}\x{ff3a}\x{1fb0}      A\x{391}\x{10427}\x{ff3a}\x{1fb0}
339      ** Failers      ** Failers
# Line 425  Line 351 
351      A\x{391}\x{10427}\x{ff5a}\x{1fb0}      A\x{391}\x{10427}\x{ff5a}\x{1fb0}
352      A\x{391}\x{10427}\x{ff3a}\x{1fb8}      A\x{391}\x{10427}\x{ff3a}\x{1fb8}
353    
 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ  
   
 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ  
   
 /AB\x{1fb0}/8DZ  
   
 /AB\x{1fb0}/8DZi  
   
354  /\x{391}+/8i  /\x{391}+/8i
355      \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}      \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
356    
# Line 448  Line 366 
366      \x{3b1}      \x{3b1}
367      \x{ff5a}      \x{ff5a}
368    
 /[\x{c0}\x{391}]/8i  
     \x{c0}  
     \x{e0}  
   
 /[\x{105}-\x{109}]/8iDZ  
     \x{104}  
     \x{105}  
     \x{109}  
     ** Failers  
     \x{100}  
     \x{10a}  
   
 /[z-\x{100}]/8iDZ  
     Z  
     z  
     \x{39c}  
     \x{178}  
     |  
     \x{80}  
     \x{ff}  
     \x{100}  
     \x{101}  
     ** Failers  
     \x{102}  
     Y  
     y  
   
 /[z-\x{100}]/8DZi  
   
369  /^\X/8  /^\X/8
370      A      A
371      A\x{300}BC      A\x{300}BC
# Line 747  Line 636 
636  /([\pL]=(abc))*X/  /([\pL]=(abc))*X/
637      L=abcX      L=abcX
638    
 /The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE  
 will match it only with UCP support, because without that it has no notion  
 of case for anything other than the ASCII letters. /  
   
 /((?i)[\x{c0}])/8  
     \x{c0}  
     \x{e0}  
   
 /(?i:[\x{c0}])/8  
     \x{c0}  
     \x{e0}  
   
639  /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8  /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
640      \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}      \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
641    
 /The next two are special cases where the lengths of the different cases of the  
 same character differ. The first went wrong with heap frame storage; the 2nd  
 was broken in all cases./  
   
 /^\x{023a}+?(\x{0130}+)/8i  
   \x{023a}\x{2c65}\x{0130}  
   
 /^\x{023a}+([^X])/8i  
   \x{023a}\x{2c65}X  
   
642  /Check property support in non-UTF-8 mode/  /Check property support in non-UTF-8 mode/
643    
644  /\p{L}{4}/  /\p{L}{4}/
# Line 790  was broken in all cases./ Line 657  was broken in all cases./
657  /[\PPP\x8a]{1,}\x80/  /[\PPP\x8a]{1,}\x80/
658      A\x80      A\x80
659    
 /(?:[\PPa*]*){8,}/  
   
 /[\P{Any}]/BZ  
   
 /[\P{Any}\E]/BZ  
   
 /(\P{Yi}+\277)/  
   
 /(\P{Yi}+\277)?/  
   
 /(?<=\P{Yi}{3}A)X/  
   
 /\p{Yi}+(\P{Yi}+)(?1)/  
   
 /(\P{Yi}{2}\277)?/  
   
 /[\P{Yi}A]/  
   
 /[\P{Yi}\P{Yi}\P{Yi}A]/  
   
 /[^\P{Yi}A]/  
   
 /[^\P{Yi}\P{Yi}\P{Yi}A]/  
   
 /(\P{Yi}*\277)*/  
   
 /(\P{Yi}*?\277)*/  
   
 /(\p{Yi}*+\277)*/  
   
 /(\P{Yi}?\277)*/  
   
 /(\P{Yi}??\277)*/  
   
 /(\p{Yi}?+\277)*/  
   
 /(\P{Yi}{0,3}\277)*/  
   
 /(\P{Yi}{0,3}?\277)*/  
   
 /(\p{Yi}{0,3}+\277)*/  
   
660  /^[\p{Arabic}]/8  /^[\p{Arabic}]/8
661      \x{60e}      \x{60e}
662      \x{656}      \x{656}
# Line 895  was broken in all cases./ Line 720  was broken in all cases./
720      \x{1049f}      \x{1049f}
721      \x{104aa}      \x{104aa}
722    
 /\p{Zl}{2,3}+/8BZ  
     \xe2\x80\xa8\xe2\x80\xa8  
     \x{2028}\x{2028}\x{2028}  
   
 /\p{Zl}/8BZ  
   
 /\p{Lu}{3}+/8BZ  
   
 /\pL{2}+/8BZ  
   
 /\p{Cc}{2}+/8BZ  
   
 /\x{c0}+\x{116}+/8i  
     \x{c0}\x{e0}\x{116}\x{117}  
   
 /[\x{c0}\x{116}]+/8i  
     \x{c0}\x{e0}\x{116}\x{117}  
   
723  /\p{Carian}\p{Cham}\p{Kayah_Li}\p{Lepcha}\p{Lycian}\p{Lydian}\p{Ol_Chiki}\p{Rejang}\p{Saurashtra}\p{Sundanese}\p{Vai}/8  /\p{Carian}\p{Cham}\p{Kayah_Li}\p{Lepcha}\p{Lycian}\p{Lydian}\p{Ol_Chiki}\p{Rejang}\p{Saurashtra}\p{Sundanese}\p{Vai}/8
724      \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====      \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
725    
# Line 931  was broken in all cases./ Line 738  was broken in all cases./
738      aa      aa
739      aA      aA
740    
 /(\x{de})\1/8i  
     \x{de}\x{de}  
     \x{de}\x{fe}  
     \x{fe}\x{fe}  
     \x{fe}\x{de}  
   
741  /(\x{10a})\1/8i  /(\x{10a})\1/8i
742      \x{10a}\x{10a}      \x{10a}\x{10a}
743      \x{10a}\x{10b}      \x{10a}\x{10b}
744      \x{10b}\x{10b}      \x{10b}\x{10b}
745      \x{10b}\x{10a}      \x{10b}\x{10a}
746    
747    /The next two tests are for property support in non-UTF-8 mode/
748    
749    /(?:\p{Lu}|\x20)+/
750        \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
751    
752    /[\p{Lu}\x20]+/
753        \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
754    
755  / End of testinput6 /  / End of testinput6 /

Legend:
Removed from v.354  
changed lines
  Added in v.448

  ViewVC Help
Powered by ViewVC 1.1.5