1[[tests]] 2name = "invalid-utf8-literal1" 3options = ["escaped", "invalid-utf8", "no-unicode"] 4pattern = '\xFF' 5input = '\xFF' 6matches = [[0, 1]] 7 8 9[[tests]] 10name = "no-unicode-mixed" 11options = ["escaped", "invalid-utf8"] 12pattern = '(.+)(?-u)(.+)' 13input = '\xCE\x93\xCE\x94\xFF' 14matches = [[0, 5]] 15 16 17[[tests]] 18name = "no-unicode-case1" 19options = ["case-insensitive", "no-unicode"] 20pattern = "a" 21input = "A" 22matches = [[0, 1]] 23 24[[tests]] 25name = "no-unicode-case2" 26options = ["case-insensitive", "no-unicode"] 27pattern = "[a-z]+" 28input = "AaAaA" 29matches = [[0, 5]] 30 31[[tests]] 32name = "no-unicode-case3" 33options = ["case-insensitive"] 34pattern = "[a-z]+" 35input = "aA\u212AaA" 36matches = [[0, 7]] 37 38[[tests]] 39name = "no-unicode-case4" 40options = ["case-insensitive", "no-unicode"] 41pattern = "[a-z]+" 42input = "aA\u212AaA" 43matches = [[0, 2]] 44 45 46[[tests]] 47name = "no-unicode-negate1" 48options = [] 49pattern = "[^a]" 50input = "δ" 51matches = [[0, 2]] 52 53[[tests]] 54name = "no-unicode-negate2" 55options = ["no-unicode", "invalid-utf8"] 56pattern = "[^a]" 57input = "δ" 58matches = [[0, 1]] 59 60 61[[tests]] 62name = "no-unicode-dotstar-prefix1" 63options = ["escaped", "no-unicode", "invalid-utf8"] 64pattern = "a" 65input = '\xFFa' 66matches = [[1, 2]] 67 68[[tests]] 69name = "no-unicode-dotstar-prefix2" 70options = ["escaped", "invalid-utf8"] 71pattern = "a" 72input = '\xFFa' 73matches = [[1, 2]] 74 75 76[[tests]] 77name = "no-unicode-null-bytes1" 78options = ["escaped", "no-unicode", "invalid-utf8"] 79pattern = '[^\x00]+\x00' 80input = 'foo\x00' 81matches = [[0, 4]] 82 83 84[[tests]] 85name = "no-unicode1" 86options = ["no-unicode"] 87pattern = '\w+' 88input = "aδ" 89matches = [[0, 1]] 90 91[[tests]] 92name = "no-unicode2" 93options = [] 94pattern = '\w+' 95input = "aδ" 96matches = [[0, 3]] 97 98[[tests]] 99name = "no-unicode3" 100options = ["no-unicode"] 101pattern = '\d+' 102input = "1२३9" 103matches = [[0, 1]] 104 105[[tests]] 106name = "no-unicode4" 107pattern = '\d+' 108input = "1२३9" 109matches = [[0, 8]] 110 111[[tests]] 112name = "no-unicode5" 113options = ["no-unicode"] 114pattern = '\s+' 115input = " \u1680" 116matches = [[0, 1]] 117 118[[tests]] 119name = "no-unicode6" 120pattern = '\s+' 121input = " \u1680" 122matches = [[0, 4]] 123 124 125[[tests]] 126# See: https://github.com/rust-lang/regex/issues/484 127name = "no-unicode-iter1" 128pattern = '' 129input = "☃" 130matches = [[0, 0], [1, 1], [2, 2], [3, 3]] 131 132[[tests]] 133# See: https://github.com/rust-lang/regex/issues/484 134options = ['escaped'] 135name = "no-unicode-iter2" 136pattern = '' 137input = 'b\xFFr' 138matches = [[0, 0], [1, 1], [2, 2], [3, 3]] 139