mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Rework parser rejection for POSIX collating elems
Implement rejection of POSIX collating elements ("[.ch.]" and "[=ch=]" entirely in the Ragel parser, using the same approach both inside and ouside character classes. Fix buggy rejection of [^.ch.], which we should accept as a character class.
This commit is contained in:
committed by
Matthew Barr
parent
d9efe07125
commit
9a7b912a5d
@@ -128,3 +128,7 @@
|
||||
128:/(*UTF8)^fo?ob{ro|nax_off\Qt=10omnax+8Wnah/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0}l.{1,60}Car*k|npanomnax+8Wnah/ #Expression is not valid UTF-8.
|
||||
129:/bignum \1111111111111111111/ #Number is too big at index 7.
|
||||
130:/foo|&{5555555,}/ #Bounded repeat is too large.
|
||||
131:/[a[..]]/ #Unsupported POSIX collating element at index 2.
|
||||
132:/[a[==]]/ #Unsupported POSIX collating element at index 2.
|
||||
133:/[a[.\].]]/ #Unsupported POSIX collating element at index 2.
|
||||
134:/[a[=\]=]]/ #Unsupported POSIX collating element at index 2.
|
||||
|
Reference in New Issue
Block a user