mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibRegex: Use an interned string table for capture group names
This avoids messing around with unsafe string pointers and removes the only non-FlyString-able user of DeprecatedFlyString.
This commit is contained in:
committed by
Andreas Kling
parent
6bb0d585e3
commit
4136d8d13e
Notes:
github-actions[bot]
2025-04-02 09:44:16 +00:00
Author: https://github.com/alimpfard Commit: https://github.com/LadybirdBrowser/ladybird/commit/4136d8d13eb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4181
@@ -26,7 +26,7 @@ public:
|
||||
auto& bytecode = regex.parser_result.bytecode;
|
||||
size_t index { 0 };
|
||||
for (auto& value : bytecode) {
|
||||
outln(m_file, "OpCode i={:3} [{:#02X}]", index, (u32)value);
|
||||
outln(m_file, "OpCode i={:3} [{:#02X}]", index, value);
|
||||
++index;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user