character classes: handle \Q\E and utf8

This commit is contained in:
Alex Coyte
2017-06-20 10:19:32 +10:00
committed by Matthew Barr
parent a185be5a4f
commit d317d75615
2 changed files with 32 additions and 0 deletions

View File

@@ -142,3 +142,5 @@
145:/abc/8{edit_distance=1} #UTF-8 is disallowed for approximate matching.
146:/(*UTF8)abc/{edit_distance=1} #UTF-8 is disallowed for approximate matching.
147:/\b\BMYBt/s{edit_distance=1} #Pattern can never match.
148:/\Q<>\Eaaaa/8 #Expression is not valid UTF-8.
149:/[\Q<>\Eaaaa]/8 #Expression is not valid UTF-8.