1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 03:25:07 +00:00
serenity/Userland/Libraries/LibRegex
Tim Schumacher ff38062318 LibRegex: Correctly translate BRE pattern end anchors
Previously we were always choosing the "nothing special" code path, even
if the dollar symbol was at the end of the pattern (and therefore should
have been considered special).

Fix that by actually checking if the pattern end follows, and emitting
the correct instruction if necessary.
2021-11-13 15:06:52 +03:30
..
C LibRegex+LibC: Make re_nsub available to the user 2021-07-13 07:04:06 +02:00
CMakeLists.txt LibRegex: Add a basic optimization pass 2021-09-13 14:38:53 +04:30
Forward.h LibRegex: Don't push LibRegex's "Error" into the global namespace 2021-11-08 00:35:27 +01:00
Regex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexByteCode.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
RegexByteCode.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
RegexBytecodeStreamOptimizer.h LibRegex: Use a match table for character classes 2021-10-03 19:16:36 +02:00
RegexDebug.h LibRegex: Switch to east-const style 2021-07-23 21:19:21 +04:30
RegexError.h LibRegex: Don't push LibRegex's "Error" into the global namespace 2021-11-08 00:35:27 +01:00
RegexLexer.cpp LibRegex: Allow null bytes in pattern 2021-08-30 18:43:09 +02:00
RegexLexer.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
RegexMatch.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
RegexMatcher.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
RegexMatcher.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
RegexOptimizer.cpp LibRegex: Don't ignore empty alternatives in append_alternation() 2021-10-29 15:57:59 +02:00
RegexOptions.h Everywhere: Behaviour => Behavior 2021-09-07 13:53:14 +02:00
RegexParser.cpp LibRegex: Correctly translate BRE pattern end anchors 2021-11-13 15:06:52 +03:30
RegexParser.h Everywhere: Behaviour => Behavior 2021-09-07 13:53:14 +02:00