The case-insensitive backreference comparison folded the character at the end of the subject when the captured text and the subject differ in the byte length of their case folds, and could report a match ending beyond the subject.make_now_just (Hiroya Fujinami)
The case-insensitive backreference comparison folded the character at the end of the subject when the captured text and the subject differ in the byte length of their case folds, and could report a match ending beyond the subject.make_now_just (Hiroya Fujinami)
The case-insensitive backreference comparison folded the character at the end of the subject when the captured text and the subject differ in the byte length of their case folds, and could report a match ending beyond the subject.make_now_just (Hiroya Fujinami)
In this case, the previous implementation counted an extra number of opcodes to cache and the matching was unstable on memoization. This patch is to fix that problem by not counting an number of opcodes to cache in the parentheses of `(...make_now_just (Hiroya Fujinami)
Applied in changeset commit:git|e1a9429918d5ead25a00f79a92f750abbeaa519a. ---------- Compute UTF-32 code points in unsigned arithmetic utf32be_mbc_to_code and utf32le_mbc_to_code computed the code point in int, which overflowed when th...make_now_just (Hiroya Fujinami)
utf32be_mbc_to_code and utf32le_mbc_to_code computed the code point in int, which overflowed when the most significant byte was 0x80 or more. With gcc -O2 such sequences were accepted as valid UTF-32. [Bug #22495]make_now_just (Hiroya Fujinami)
When a regexp is compiled again for the encoding of a string, pass its options to the preprocessor so that the comments of extended mode are dropped as in the first compilation. Also make is_code_ctype of Emacs-Mule return false for non...make_now_just (Hiroya Fujinami)
A match at an earlier position does not imply one at the start position, so String#rindex with /.*.../m missed matches. [Bug #22492] (cherry picked from commit d55b67dfa3c1f94a4855381b400da7aa987bb5be)make_now_just (Hiroya Fujinami)
When an assertion such as ^, \b or a lookahead precedes the leading .*, it may fail at the start position and hold later, so the search must try later positions. [Bug #22494] (cherry picked from commit dbfe6bac2285ea61a76a2dec970cf859f...make_now_just (Hiroya Fujinami)
Applied in changeset commit:git|dbfe6bac2285ea61a76a2dec970cf859f5a8fef4. ---------- Do not treat a leading .* after an assertion as an implicit anchor When an assertion such as ^, \b or a lookahead precedes the leading .*, it may fail...make_now_just (Hiroya Fujinami)