Home | History | Annotate | Download | only in testdata
      1 # This set of tests checks local-specific features, using the "fr_FR" locale. 
      2 # It is not Perl-compatible. When run via RunTest, the locale is edited to
      3 # be whichever of "fr_FR", "french", or "fr" is found to exist. There is
      4 # different version of this file called wintestinput3 for use on Windows,
      5 # where the locale is called "french" and the tests are run using
      6 # RunTest.bat. 
      7 
      8 #forbid_utf
      9 
     10 /^[\w]+/
     11 \= Expect no match
     12     cole
     13 
     14 /^[\w]+/locale=fr_FR
     15     cole
     16 
     17 /^[\w]+/
     18 \= Expect no match
     19     cole
     20 
     21 /^[\W]+/
     22     cole
     23 
     24 /^[\W]+/locale=fr_FR
     25 \= Expect no match
     26     cole
     27 
     28 /[\b]/
     29     \b
     30 \= Expect no match
     31     a
     32 
     33 /[\b]/locale=fr_FR
     34     \b
     35 \= Expect no match
     36     a
     37 
     38 /^\w+/
     39 \= Expect no match
     40     cole
     41 
     42 /^\w+/locale=fr_FR
     43     cole
     44 
     45 /(.+)\b(.+)/
     46     cole
     47 
     48 /(.+)\b(.+)/locale=fr_FR
     49 \= Expect no match
     50     cole
     51 
     52 /cole/i
     53     cole
     54 \= Expect no match
     55     cole
     56 
     57 /cole/i,locale=fr_FR
     58     cole
     59     cole
     60 
     61 /\w/I
     62 
     63 /\w/I,locale=fr_FR
     64 
     65 # All remaining tests are in the fr_FR locale, so set the default.
     66 
     67 #pattern locale=fr_FR
     68 
     69 /^[\xc8-\xc9]/i
     70     cole
     71     cole
     72 
     73 /^[\xc8-\xc9]/
     74     cole
     75 \= Expect no match
     76     cole
     77 
     78 /\W+/
     79     >>>\xaa<<<
     80     >>>\xba<<< 
     81 
     82 /[\W]+/
     83     >>>\xaa<<<
     84     >>>\xba<<< 
     85 
     86 /[^[:alpha:]]+/
     87     >>>\xaa<<<
     88     >>>\xba<<< 
     89 
     90 /\w+/
     91     >>>\xaa<<<
     92     >>>\xba<<< 
     93 
     94 /[\w]+/
     95     >>>\xaa<<<
     96     >>>\xba<<< 
     97 
     98 /[[:alpha:]]+/
     99     >>>\xaa<<<
    100     >>>\xba<<< 
    101     
    102 /[[:alpha:]][[:lower:]][[:upper:]]/IB
    103 
    104 # End of testinput3 
    105