260915.4 · bba61cd88748f94f1477663b48aa72a6e3060a73
remove redundant condition
internal regex mode modifier 'a' suffices, which is set in Unicode mode for regex modifier 'i' and applies to inverted character classes to convert
reading declarations
Changes to lib/convert.cpp. All files
@@ -401,7 +401,7 @@ static std::string convert_ranges(const char *pattern, size_t pos, ORanges<int>& { if (ranges.find('\n') != ranges.end()) nl = true;- if (is_modified(mod, 'i') || (is_modified(mod, 'a') && is_modified(mod, 'u') && ranges.hi() > 0x7F))+ if (is_modified(mod, 'a') && is_modified(mod, 'u') && ranges.hi() > 0x7F) convert_anycase_ranges(ranges); if (is_modified(mod, 'u') && ranges.hi() > 0x7F) return convert_unicode_ranges(ranges, flags, signature, par);