]> granicus.if.org Git - onig/commit
/[\x{0}-X]/i doesn't match properly when UTF-16/32 is used.
authorK.Takata <kentkt@csc.jp>
Wed, 16 Nov 2011 18:36:22 +0000 (03:36 +0900)
committerK.Takata <kentkt@csc.jp>
Mon, 12 Dec 2016 14:41:54 +0000 (23:41 +0900)
commit13fd68a4b175f512c541da90247e44baf3f1c946
tree0218f1a4b017250c2bb91c844302a8c682d1d34f
parent4ab96b4e2d4614494ca556496dc7d6123a832bea
/[\x{0}-X]/i doesn't match properly when UTF-16/32 is used.

This bug occurs when a code range already includes \x{0} and adding
a new code range to it. We must also care about 0xffffffff.
src/regparse.c