LibRegex: Account for uppercase characters in insensitive patterns

This commit is contained in:
Ali Mohammad Pur 2025-07-11 15:06:40 +02:00 committed by Jelle Raaijmakers
commit 5b45223d5f
Notes: github-actions[bot] 2025-07-12 09:27:33 +00:00
6 changed files with 73 additions and 31 deletions

View file

@ -117,8 +117,8 @@ enum class BoundaryCheckType : ByteCodeValueType {
};
struct CharRange {
u32 const from;
u32 const to;
u32 from;
u32 to;
CharRange(u64 value)
: from(value >> 32)
@ -213,6 +213,12 @@ public:
Base::extend(other);
}
template<SameAs<Vector<ByteCodeValueType>> T>
void extend(T other)
{
Base::append(move(other));
}
template<typename... Args>
void empend(Args&&... args)
{