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

Diff of /code/trunk/testdata/testoutput4

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

revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC revision 264 by ph10, Tue Nov 13 11:07:16 2007 UTC
# Line 1  Line 1 
 PCRE version 5.0 13-Sep-2004  
   
1  /-- Do not use the \x{} construct except with patterns that have the --/  /-- Do not use the \x{} construct except with patterns that have the --/
2  /-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/  /-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
3  No match  No match
# Line 900  No match Line 898  No match
898      \x{85}      \x{85}
899   0: \x{85}   0: \x{85}
900    
901    /^ሴ/8
902        ሴ
903     0: \x{1234}
904    
905    /^\ሴ/8
906        ሴ
907     0: \x{1234}
908    
909    "(?s)(.{1,5})"8
910        abcdefg
911     0: abcde
912     1: abcde
913        ab
914     0: ab
915     1: ab
916    
917    /a*\x{100}*\w/8
918        a
919     0: a
920    
921    /\S\S/8g
922        A\x{a3}BC
923     0: A\x{a3}
924     0: BC
925    
926    /\S{2}/8g
927        A\x{a3}BC
928     0: A\x{a3}
929     0: BC
930    
931    /\W\W/8g
932        +\x{a3}==
933     0: +\x{a3}
934     0: ==
935    
936    /\W{2}/8g
937        +\x{a3}==
938     0: +\x{a3}
939     0: ==
940    
941    /\S/8g
942        \x{442}\x{435}\x{441}\x{442}
943     0: \x{442}
944     0: \x{435}
945     0: \x{441}
946     0: \x{442}
947    
948    /[\S]/8g
949        \x{442}\x{435}\x{441}\x{442}
950     0: \x{442}
951     0: \x{435}
952     0: \x{441}
953     0: \x{442}
954    
955    /\D/8g
956        \x{442}\x{435}\x{441}\x{442}
957     0: \x{442}
958     0: \x{435}
959     0: \x{441}
960     0: \x{442}
961    
962    /[\D]/8g
963        \x{442}\x{435}\x{441}\x{442}
964     0: \x{442}
965     0: \x{435}
966     0: \x{441}
967     0: \x{442}
968    
969    /\W/8g
970        \x{2442}\x{2435}\x{2441}\x{2442}
971     0: \x{2442}
972     0: \x{2435}
973     0: \x{2441}
974     0: \x{2442}
975    
976    /[\W]/8g
977        \x{2442}\x{2435}\x{2441}\x{2442}
978     0: \x{2442}
979     0: \x{2435}
980     0: \x{2441}
981     0: \x{2442}
982    
983    /[\S\s]*/8
984        abc\n\r\x{442}\x{435}\x{441}\x{442}xyz
985     0: abc\x{0a}\x{0d}\x{442}\x{435}\x{441}\x{442}xyz
986    
987    /[\x{41f}\S]/8g
988        \x{442}\x{435}\x{441}\x{442}
989     0: \x{442}
990     0: \x{435}
991     0: \x{441}
992     0: \x{442}
993    
994    /.[^\S]./8g
995        abc def\x{442}\x{443}xyz\npqr
996     0: c d
997     0: z\x{0a}p
998    
999    /.[^\S\n]./8g
1000        abc def\x{442}\x{443}xyz\npqr
1001     0: c d
1002    
1003  / End of testinput4 /  / End of testinput4 /

Legend:
Removed from v.75  
changed lines
  Added in v.264

  ViewVC Help
Powered by ViewVC 1.1.5