/[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 942 by ph10, Tue Feb 28 14:50:31 2012 UTC revision 1011 by ph10, Sat Aug 25 11:36:15 2012 UTC
# Line 406  Line 406 
406      A\x{300}\x{301}B\x{300}C\x{300}\x{301}      A\x{300}\x{301}B\x{300}C\x{300}\x{301}
407      A\x{300}\x{301}B\x{300}C\x{300}\x{301}X      A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
408      A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X      A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
409    
410    /^\X/8
411        A
412        A\x{300}BC
413        A\x{300}\x{301}\x{302}BC
414        \x{300}
415    
416  /^\p{Han}+/8  /^\p{Han}+/8
417      \x{2e81}\x{3007}\x{2f804}\x{31a0}      \x{2e81}\x{3007}\x{2f804}\x{31a0}
418      ** Failers      ** Failers
# Line 814  Line 820 
820  /Ⱥ/8i  /Ⱥ/8i
821      Ⱥ      Ⱥ
822      ⱥ      ⱥ
823    
824    /-- These are tests for extended grapheme clusters --/
825    
826    /^\X/8+
827        G\x{34e}\x{34e}X
828        \x{34e}\x{34e}X
829        \x04X
830        \x{1100}X
831        \x{1100}\x{34e}X
832        \x{1b04}\x{1b04}X
833        *These match up to the roman letters
834        \x{1111}\x{1111}L,L
835        \x{1111}\x{1111}\x{1169}L,L,V
836        \x{1111}\x{ae4c}L, LV
837        \x{1111}\x{ad89}L, LVT
838        \x{1111}\x{ae4c}\x{1169}L, LV, V
839        \x{1111}\x{ae4c}\x{1169}\x{1169}L, LV, V, V
840        \x{1111}\x{ae4c}\x{1169}\x{11fe}L, LV, V, T
841        \x{1111}\x{ad89}\x{11fe}L, LVT, T
842        \x{1111}\x{ad89}\x{11fe}\x{11fe}L, LVT, T, T
843        \x{ad89}\x{11fe}\x{11fe}LVT, T, T
844        *These match just the first codepoint (invalid sequence)
845        \x{1111}\x{11fe}L, T
846        \x{ae4c}\x{1111}LV, L
847        \x{ae4c}\x{ae4c}LV, LV
848        \x{ae4c}\x{ad89}LV, LVT
849        \x{1169}\x{1111}V, L
850        \x{1169}\x{ae4c}V, LV
851        \x{1169}\x{ad89}V, LVT
852        \x{ad89}\x{1111}LVT, L
853        \x{ad89}\x{1169}LVT, V
854        \x{ad89}\x{ae4c}LVT, LV
855        \x{ad89}\x{ad89}LVT, LVT
856        \x{11fe}\x{1111}T, L
857        \x{11fe}\x{1169}T, V
858        \x{11fe}\x{ae4c}T, LV
859        \x{11fe}\x{ad89}T, LVT
860        *Test extend and spacing mark
861        \x{1111}\x{ae4c}\x{0711}L, LV, extend
862        \x{1111}\x{ae4c}\x{1b04}L, LV, spacing mark
863        \x{1111}\x{ae4c}\x{1b04}\x{0711}\x{1b04}L, LV, spacing mark, extend, spacing mark
864        *Test CR, LF, and control
865        \x0d\x{0711}CR, extend
866        \x0d\x{1b04}CR, spacingmark
867        \x0a\x{0711}LF, extend
868        \x0a\x{1b04}LF, spacingmark
869        \x0b\x{0711}Control, extend
870        \x09\x{1b04}Control, spacingmark
871        *There are no Prepend characters, so we can't test Prepend, CR
872    
873    /^(?>\X{2})X/8+
874        \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
875    
876    /^\X{2,4}X/8+
877        \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
878        \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
879        \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
880    
881    /^\X{2,4}?X/8+
882        \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
883        \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
884        \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
885    
886    /-- --/
887    
888  /-- End of testinput6 --/  /-- End of testinput6 --/

Legend:
Removed from v.942  
changed lines
  Added in v.1011

  ViewVC Help
Powered by ViewVC 1.1.5