Home | History | Annotate | Download | only in testdata
      1 /-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16 
      2     or -32) features that are not compatible with the 8-bit library, or which 
      3     give different output in 16- or 32-bit mode. --/
      4     
      5 < forbid 8W 
      6 
      7 /a\Cb/
      8     aXb
      9  0: aXb
     10     a\nb
     11  0: a\x0ab
     12   
     13 /[^\x{c4}]/DZ
     14 ------------------------------------------------------------------
     15         Bra
     16         [^\x{c4}]
     17         Ket
     18         End
     19 ------------------------------------------------------------------
     20 Capturing subpattern count = 0
     21 No options
     22 No first char
     23 No need char
     24   
     25 /\x{100}/I
     26 Capturing subpattern count = 0
     27 No options
     28 First char = \x{100}
     29 No need char
     30 
     31 /  (?: [\040\t] |  \(
     32 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     33 \)  )*                          # optional leading comment
     34 (?:    (?:
     35 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
     36 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
     37 |
     38 " (?:                      # opening quote...
     39 [^\\\x80-\xff\n\015"]                #   Anything except backslash and quote
     40 |                     #    or
     41 \\ [^\x80-\xff]           #   Escaped something (something != CR)
     42 )* "  # closing quote
     43 )                    # initial word
     44 (?:  (?: [\040\t] |  \(
     45 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     46 \)  )*  \.  (?: [\040\t] |  \(
     47 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     48 \)  )*   (?:
     49 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
     50 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
     51 |
     52 " (?:                      # opening quote...
     53 [^\\\x80-\xff\n\015"]                #   Anything except backslash and quote
     54 |                     #    or
     55 \\ [^\x80-\xff]           #   Escaped something (something != CR)
     56 )* "  # closing quote
     57 )  )* # further okay, if led by a period
     58 (?: [\040\t] |  \(
     59 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     60 \)  )*  @  (?: [\040\t] |  \(
     61 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     62 \)  )*    (?:
     63 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
     64 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
     65 |   \[                         # [
     66 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
     67 \]                        #           ]
     68 )                           # initial subdomain
     69 (?:                                  #
     70 (?: [\040\t] |  \(
     71 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     72 \)  )*  \.                        # if led by a period...
     73 (?: [\040\t] |  \(
     74 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     75 \)  )*   (?:
     76 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
     77 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
     78 |   \[                         # [
     79 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
     80 \]                        #           ]
     81 )                     #   ...further okay
     82 )*
     83 # address
     84 |                     #  or
     85 (?:
     86 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
     87 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
     88 |
     89 " (?:                      # opening quote...
     90 [^\\\x80-\xff\n\015"]                #   Anything except backslash and quote
     91 |                     #    or
     92 \\ [^\x80-\xff]           #   Escaped something (something != CR)
     93 )* "  # closing quote
     94 )             # one word, optionally followed by....
     95 (?:
     96 [^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037]  |  # atom and space parts, or...
     97 \(
     98 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
     99 \)       |  # comments, or...
    100 
    101 " (?:                      # opening quote...
    102 [^\\\x80-\xff\n\015"]                #   Anything except backslash and quote
    103 |                     #    or
    104 \\ [^\x80-\xff]           #   Escaped something (something != CR)
    105 )* "  # closing quote
    106 # quoted strings
    107 )*
    108 <  (?: [\040\t] |  \(
    109 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    110 \)  )*                     # leading <
    111 (?:  @  (?: [\040\t] |  \(
    112 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    113 \)  )*    (?:
    114 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    115 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    116 |   \[                         # [
    117 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
    118 \]                        #           ]
    119 )                           # initial subdomain
    120 (?:                                  #
    121 (?: [\040\t] |  \(
    122 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    123 \)  )*  \.                        # if led by a period...
    124 (?: [\040\t] |  \(
    125 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    126 \)  )*   (?:
    127 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    128 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    129 |   \[                         # [
    130 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
    131 \]                        #           ]
    132 )                     #   ...further okay
    133 )*
    134 
    135 (?:  (?: [\040\t] |  \(
    136 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    137 \)  )*  ,  (?: [\040\t] |  \(
    138 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    139 \)  )*  @  (?: [\040\t] |  \(
    140 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    141 \)  )*    (?:
    142 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    143 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    144 |   \[                         # [
    145 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
    146 \]                        #           ]
    147 )                           # initial subdomain
    148 (?:                                  #
    149 (?: [\040\t] |  \(
    150 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    151 \)  )*  \.                        # if led by a period...
    152 (?: [\040\t] |  \(
    153 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    154 \)  )*   (?:
    155 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    156 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    157 |   \[                         # [
    158 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
    159 \]                        #           ]
    160 )                     #   ...further okay
    161 )*
    162 )* # further okay, if led by comma
    163 :                                # closing colon
    164 (?: [\040\t] |  \(
    165 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    166 \)  )*  )? #       optional route
    167 (?:
    168 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    169 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    170 |
    171 " (?:                      # opening quote...
    172 [^\\\x80-\xff\n\015"]                #   Anything except backslash and quote
    173 |                     #    or
    174 \\ [^\x80-\xff]           #   Escaped something (something != CR)
    175 )* "  # closing quote
    176 )                    # initial word
    177 (?:  (?: [\040\t] |  \(
    178 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    179 \)  )*  \.  (?: [\040\t] |  \(
    180 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    181 \)  )*   (?:
    182 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    183 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    184 |
    185 " (?:                      # opening quote...
    186 [^\\\x80-\xff\n\015"]                #   Anything except backslash and quote
    187 |                     #    or
    188 \\ [^\x80-\xff]           #   Escaped something (something != CR)
    189 )* "  # closing quote
    190 )  )* # further okay, if led by a period
    191 (?: [\040\t] |  \(
    192 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    193 \)  )*  @  (?: [\040\t] |  \(
    194 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    195 \)  )*    (?:
    196 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    197 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    198 |   \[                         # [
    199 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
    200 \]                        #           ]
    201 )                           # initial subdomain
    202 (?:                                  #
    203 (?: [\040\t] |  \(
    204 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    205 \)  )*  \.                        # if led by a period...
    206 (?: [\040\t] |  \(
    207 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    208 \)  )*   (?:
    209 [^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+    # some number of atom characters...
    210 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
    211 |   \[                         # [
    212 (?: [^\\\x80-\xff\n\015\[\]] |  \\ [^\x80-\xff]  )*    #    stuff
    213 \]                        #           ]
    214 )                     #   ...further okay
    215 )*
    216 #       address spec
    217 (?: [\040\t] |  \(
    218 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    219 \)  )*  > #                  trailing >
    220 # name and address
    221 )  (?: [\040\t] |  \(
    222 (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  |  \( (?:  [^\\\x80-\xff\n\015()]  |  \\ [^\x80-\xff]  )* \)  )*
    223 \)  )*                       # optional trailing comment
    224 /xSI
    225 Capturing subpattern count = 0
    226 Contains explicit CR or LF match
    227 Options: extended
    228 No first char
    229 No need char
    230 Subject length lower bound = 3
    231 Starting chars: \x09 \x20 ! " # $ % & ' ( * + - / 0 1 2 3 4 5 6 7 8 
    232   9 = ? A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ^ _ ` a b c d e 
    233   f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xff 
    234 
    235 /[\h]/BZ
    236 ------------------------------------------------------------------
    237         Bra
    238         [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
    239         Ket
    240         End
    241 ------------------------------------------------------------------
    242     >\x09<
    243  0: \x09
    244 
    245 /[\h]+/BZ
    246 ------------------------------------------------------------------
    247         Bra
    248         [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]++
    249         Ket
    250         End
    251 ------------------------------------------------------------------
    252     >\x09\x20\xa0<
    253  0: \x09 \xa0
    254 
    255 /[\v]/BZ
    256 ------------------------------------------------------------------
    257         Bra
    258         [\x0a-\x0d\x85\x{2028}-\x{2029}]
    259         Ket
    260         End
    261 ------------------------------------------------------------------
    262 
    263 /[^\h]/BZ
    264 ------------------------------------------------------------------
    265         Bra
    266         [^\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
    267         Ket
    268         End
    269 ------------------------------------------------------------------
    270 
    271 /\h+/SI
    272 Capturing subpattern count = 0
    273 No options
    274 No first char
    275 No need char
    276 Subject length lower bound = 1
    277 Starting chars: \x09 \x20 \xa0 \xff 
    278     \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
    279  0: \x{1680}\x{2000}\x{202f}\x{3000}
    280     \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
    281  0: \x{200a}\xa0\x{2000}
    282 
    283 /[\h\x{dc00}]+/BZSI
    284 ------------------------------------------------------------------
    285         Bra
    286         [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]++
    287         Ket
    288         End
    289 ------------------------------------------------------------------
    290 Capturing subpattern count = 0
    291 No options
    292 No first char
    293 No need char
    294 Subject length lower bound = 1
    295 Starting chars: \x09 \x20 \xa0 \xff 
    296     \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
    297  0: \x{1680}\x{2000}\x{202f}\x{3000}
    298     \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
    299  0: \x{200a}\xa0\x{2000}
    300 
    301 /\H+/SI
    302 Capturing subpattern count = 0
    303 No options
    304 No first char
    305 No need char
    306 Subject length lower bound = 1
    307 No starting char list
    308     \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
    309  0: \x{167f}\x{1681}\x{180d}\x{180f}
    310     \x{2000}\x{200a}\x{1fff}\x{200b}
    311  0: \x{1fff}\x{200b}
    312     \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
    313  0: \x{202e}\x{2030}\x{205e}\x{2060}
    314     \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
    315  0: \x9f\xa1\x{2fff}\x{3001}
    316 
    317 /[\H\x{d800}]+/
    318     \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
    319  0: \x{167f}\x{1681}\x{180d}\x{180f}
    320     \x{2000}\x{200a}\x{1fff}\x{200b}
    321  0: \x{1fff}\x{200b}
    322     \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
    323  0: \x{202e}\x{2030}\x{205e}\x{2060}
    324     \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
    325  0: \x9f\xa1\x{2fff}\x{3001}
    326 
    327 /\v+/SI
    328 Capturing subpattern count = 0
    329 No options
    330 No first char
    331 No need char
    332 Subject length lower bound = 1
    333 Starting chars: \x0a \x0b \x0c \x0d \x85 \xff 
    334     \x{2027}\x{2030}\x{2028}\x{2029}
    335  0: \x{2028}\x{2029}
    336     \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
    337  0: \x85\x0a\x0b\x0c\x0d
    338 
    339 /[\v\x{dc00}]+/BZSI
    340 ------------------------------------------------------------------
    341         Bra
    342         [\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]++
    343         Ket
    344         End
    345 ------------------------------------------------------------------
    346 Capturing subpattern count = 0
    347 No options
    348 No first char
    349 No need char
    350 Subject length lower bound = 1
    351 Starting chars: \x0a \x0b \x0c \x0d \x85 \xff 
    352     \x{2027}\x{2030}\x{2028}\x{2029}
    353  0: \x{2028}\x{2029}
    354     \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
    355  0: \x85\x0a\x0b\x0c\x0d
    356 
    357 /\V+/SI
    358 Capturing subpattern count = 0
    359 No options
    360 No first char
    361 No need char
    362 Subject length lower bound = 1
    363 No starting char list
    364     \x{2028}\x{2029}\x{2027}\x{2030}
    365  0: \x{2027}\x{2030}
    366     \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
    367  0: \x09\x0e\x84\x86
    368 
    369 /[\V\x{d800}]+/
    370     \x{2028}\x{2029}\x{2027}\x{2030}
    371  0: \x{2027}\x{2030}
    372     \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
    373  0: \x09\x0e\x84\x86
    374 
    375 /\R+/SI<bsr_unicode>
    376 Capturing subpattern count = 0
    377 Options: bsr_unicode
    378 No first char
    379 No need char
    380 Subject length lower bound = 1
    381 Starting chars: \x0a \x0b \x0c \x0d \x85 \xff 
    382     \x{2027}\x{2030}\x{2028}\x{2029}
    383  0: \x{2028}\x{2029}
    384     \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
    385  0: \x85\x0a\x0b\x0c\x0d
    386 
    387 /\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
    388 Capturing subpattern count = 0
    389 No options
    390 First char = \x{d800}
    391 Need char = \x{dd00}
    392     \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
    393  0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
    394 
    395 /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZ
    396 ------------------------------------------------------------------
    397         Bra
    398         [^\x80]
    399         [^\x{ff}]
    400         [^\x{100}]
    401         [^\x{1000}]
    402         [^\x{ffff}]
    403         Ket
    404         End
    405 ------------------------------------------------------------------
    406 
    407 /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
    408 ------------------------------------------------------------------
    409         Bra
    410      /i [^\x80]
    411      /i [^\x{ff}]
    412      /i [^\x{100}]
    413      /i [^\x{1000}]
    414      /i [^\x{ffff}]
    415         Ket
    416         End
    417 ------------------------------------------------------------------
    418 
    419 /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
    420 ------------------------------------------------------------------
    421         Bra
    422         [^\x{100}]*
    423         [^\x{1000}]+
    424         [^\x{ffff}]??
    425         [^\x{8000}]{4}
    426         [^\x{8000}]*
    427         [^\x{7fff}]{2}
    428         [^\x{7fff}]{0,7}?
    429         [^\x{100}]{5}
    430         [^\x{100}]?+
    431         Ket
    432         End
    433 ------------------------------------------------------------------
    434 
    435 /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi
    436 ------------------------------------------------------------------
    437         Bra
    438      /i [^\x{100}]*
    439      /i [^\x{1000}]+
    440      /i [^\x{ffff}]??
    441      /i [^\x{8000}]{4}
    442      /i [^\x{8000}]*
    443      /i [^\x{7fff}]{2}
    444      /i [^\x{7fff}]{0,7}?
    445      /i [^\x{100}]{5}
    446      /i [^\x{100}]?+
    447         Ket
    448         End
    449 ------------------------------------------------------------------
    450 
    451 /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
    452     XX
    453  0: XX
    454 MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
    455      
    456 /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
    457     XX
    458  0: XX
    459 MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE
    460 
    461 /\u0100/<JS>BZ
    462 ------------------------------------------------------------------
    463         Bra
    464         \x{100}
    465         Ket
    466         End
    467 ------------------------------------------------------------------
    468 
    469 /[\u0100-\u0200]/<JS>BZ
    470 ------------------------------------------------------------------
    471         Bra
    472         [\x{100}-\x{200}]
    473         Ket
    474         End
    475 ------------------------------------------------------------------
    476 
    477 /\ud800/<JS>BZ
    478 ------------------------------------------------------------------
    479         Bra
    480         \x{d800}
    481         Ket
    482         End
    483 ------------------------------------------------------------------
    484 
    485 /^\x{ffff}+/i
    486     \x{ffff}
    487  0: \x{ffff}
    488 
    489 /^\x{ffff}?/i
    490     \x{ffff}
    491  0: \x{ffff}
    492 
    493 /^\x{ffff}*/i
    494     \x{ffff}
    495  0: \x{ffff}
    496 
    497 /^\x{ffff}{3}/i
    498     \x{ffff}\x{ffff}\x{ffff}
    499  0: \x{ffff}\x{ffff}\x{ffff}
    500 
    501 /^\x{ffff}{0,3}/i
    502     \x{ffff}
    503  0: \x{ffff}
    504 
    505 /[^\x00-a]{12,}[^b-\xff]*/BZ
    506 ------------------------------------------------------------------
    507         Bra
    508         [b-\xff] (neg){12,}
    509         [\x00-a] (neg)*+
    510         Ket
    511         End
    512 ------------------------------------------------------------------
    513 
    514 /[^\s]*\s* [^\W]+\W+ [^\d]*?\d0 [^\d\w]{4,6}?\w*A/BZ
    515 ------------------------------------------------------------------
    516         Bra
    517         [\x00-\x08\x0e-\x1f!-\xff] (neg)*
    518         \s*
    519          
    520         [0-9A-Z_a-z]++
    521         \W+
    522          
    523         [\x00-/:-\xff] (neg)*?
    524         \d
    525         0 
    526         [\x00-/:-@[-^`{-\xff] (neg){4,6}?
    527         \w*
    528         A
    529         Ket
    530         End
    531 ------------------------------------------------------------------
    532 
    533 /a*[b-\x{200}]?a#a*[b-\x{200}]?b#[a-f]*[g-\x{200}]*#[g-\x{200}]*[a-c]*#[g-\x{200}]*[a-h]*/BZ
    534 ------------------------------------------------------------------
    535         Bra
    536         a*
    537         [b-\xff\x{100}-\x{200}]?+
    538         a#
    539         a*+
    540         [b-\xff\x{100}-\x{200}]?
    541         b#
    542         [a-f]*+
    543         [g-\xff\x{100}-\x{200}]*+
    544         #
    545         [g-\xff\x{100}-\x{200}]*+
    546         [a-c]*+
    547         #
    548         [g-\xff\x{100}-\x{200}]*
    549         [a-h]*+
    550         Ket
    551         End
    552 ------------------------------------------------------------------
    553 
    554 /^[\x{1234}\x{4321}]{2,4}?/
    555     \x{1234}\x{1234}\x{1234}
    556  0: \x{1234}\x{1234}
    557 
    558 /-- End of testinput17 --/
    559