diff --git a/testdata/testinput3 b/testdata/testinput3 index 3010f01..2e1fbf5 100644 --- a/testdata/testinput3 +++ b/testdata/testinput3 @@ -62,39 +62,43 @@ /\w/I,locale=fr_FR -/^[\xc8-\xc9]/i,locale=fr_FR +# All remaining tests are in the fr_FR locale, so set the default. + +#pattern locale=fr_FR + +/^[\xc8-\xc9]/i École école -/^[\xc8-\xc9]/locale=fr_FR +/^[\xc8-\xc9]/ École *** Failers école -/\W+/locale=fr_FR +/\W+/ >>>\xaa<<< >>>\xba<<< -/[\W]+/locale=fr_FR +/[\W]+/ >>>\xaa<<< >>>\xba<<< -/[^[:alpha:]]+/locale=fr_FR +/[^[:alpha:]]+/ >>>\xaa<<< >>>\xba<<< -/\w+/locale=fr_FR +/\w+/ >>>\xaa<<< >>>\xba<<< -/[\w]+/locale=fr_FR +/[\w]+/ >>>\xaa<<< >>>\xba<<< -/[[:alpha:]]+/locale=fr_FR +/[[:alpha:]]+/ >>>\xaa<<< >>>\xba<<< -/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR +/[[:alpha:]][[:lower:]][[:upper:]]/IB # End of testinput3 diff --git a/testdata/testoutput3 b/testdata/testoutput3 index 54fbd48..20e585c 100644 --- a/testdata/testoutput3 +++ b/testdata/testoutput3 @@ -105,13 +105,17 @@ Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P No last code unit Subject length lower bound = 1 -/^[\xc8-\xc9]/i,locale=fr_FR +# All remaining tests are in the fr_FR locale, so set the default. + +#pattern locale=fr_FR + +/^[\xc8-\xc9]/i École 0: É école 0: é -/^[\xc8-\xc9]/locale=fr_FR +/^[\xc8-\xc9]/ École 0: É *** Failers @@ -119,43 +123,43 @@ No match école No match -/\W+/locale=fr_FR +/\W+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/[\W]+/locale=fr_FR +/[\W]+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/[^[:alpha:]]+/locale=fr_FR +/[^[:alpha:]]+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/\w+/locale=fr_FR +/\w+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[\w]+/locale=fr_FR +/[\w]+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[[:alpha:]]+/locale=fr_FR +/[[:alpha:]]+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR +/[[:alpha:]][[:lower:]][[:upper:]]/IB ------------------------------------------------------------------ Bra [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] diff --git a/testdata/testoutput3A b/testdata/testoutput3A index 9501b05..77cc240 100644 --- a/testdata/testoutput3A +++ b/testdata/testoutput3A @@ -105,13 +105,17 @@ Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P No last code unit Subject length lower bound = 1 -/^[\xc8-\xc9]/i,locale=fr_FR +# All remaining tests are in the fr_FR locale, so set the default. + +#pattern locale=fr_FR + +/^[\xc8-\xc9]/i École 0: É école 0: é -/^[\xc8-\xc9]/locale=fr_FR +/^[\xc8-\xc9]/ École 0: É *** Failers @@ -119,43 +123,43 @@ No match école No match -/\W+/locale=fr_FR +/\W+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/[\W]+/locale=fr_FR +/[\W]+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/[^[:alpha:]]+/locale=fr_FR +/[^[:alpha:]]+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/\w+/locale=fr_FR +/\w+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[\w]+/locale=fr_FR +/[\w]+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[[:alpha:]]+/locale=fr_FR +/[[:alpha:]]+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR +/[[:alpha:]][[:lower:]][[:upper:]]/IB ------------------------------------------------------------------ Bra [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] diff --git a/testdata/testoutput3B b/testdata/testoutput3B index 3b0b603..7455c6a 100644 --- a/testdata/testoutput3B +++ b/testdata/testoutput3B @@ -105,13 +105,17 @@ Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P No last code unit Subject length lower bound = 1 -/^[\xc8-\xc9]/i,locale=fr_FR +# All remaining tests are in the fr_FR locale, so set the default. + +#pattern locale=fr_FR + +/^[\xc8-\xc9]/i École 0: É école 0: é -/^[\xc8-\xc9]/locale=fr_FR +/^[\xc8-\xc9]/ École 0: É *** Failers @@ -119,43 +123,43 @@ No match école No match -/\W+/locale=fr_FR +/\W+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/[\W]+/locale=fr_FR +/[\W]+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/[^[:alpha:]]+/locale=fr_FR +/[^[:alpha:]]+/ >>>\xaa<<< 0: >>> >>>\xba<<< 0: >>> -/\w+/locale=fr_FR +/\w+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[\w]+/locale=fr_FR +/[\w]+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[[:alpha:]]+/locale=fr_FR +/[[:alpha:]]+/ >>>\xaa<<< 0: ª >>>\xba<<< 0: º -/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR +/[[:alpha:]][[:lower:]][[:upper:]]/IB ------------------------------------------------------------------ Bra [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]