mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
4f2cbe119b
Unfortunately, this requires a slight divergence in the way the capture group names are stored. Previously, the generated byte code would simply store a view into the regex pattern string, so no string copying was required. Now, the escape sequences are decoded into a new string, and a vector of all parsed capture group names are stored in a vector in the parser result structure. The byte code then stores a view into the corresponding string in that vector. |
||
---|---|---|
.. | ||
C | ||
CMakeLists.txt | ||
Forward.h | ||
Regex.h | ||
RegexByteCode.cpp | ||
RegexByteCode.h | ||
RegexDebug.h | ||
RegexError.h | ||
RegexLexer.cpp | ||
RegexLexer.h | ||
RegexMatch.h | ||
RegexMatcher.cpp | ||
RegexMatcher.h | ||
RegexOptions.h | ||
RegexParser.cpp | ||
RegexParser.h |