1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 03:42:07 +00:00
serenity/Userland
Timothy Flynn 48cb15283a LibRegex: Explicitly check if a character falls into a table-based range
Previously, for a regex such as /[a-sy-z]/i, we would incorrectly think
the character "u" fell into the range "a-s" because neither of the
conditions "u > s && U > s" or "u < a && U < a" would be true, resulting
in the lookup falling back to assuming the character is in the range.

Instead, first explicitly check if the character falls into the range,
rather than checking if it falls outside the range. If the explicit
checks fail, then we know the character is outside the range.
2022-08-29 16:34:47 -04:00
..
Applets WindowServer+WorkspacePicker: Adjust active and inactive colors 2022-08-16 16:41:47 +02:00
Applications HexEditor: Add Help->Manual entry in Menu 2022-08-29 09:25:29 +01:00
Demos Eyes: Add an option to show/hide the window frame 2022-08-25 13:42:17 +02:00
DevTools LibGUI+WindowServer: Introduce WindowModes 2022-08-25 13:28:50 +02:00
DynamicLoader LibPthread: Implement named semaphores 2022-07-21 16:39:22 +02:00
Games Chess: Highlight piece origin square when dragging piece 2022-08-26 09:53:13 +01:00
Libraries LibRegex: Explicitly check if a character falls into a table-based range 2022-08-29 16:34:47 -04:00
Services LibJS: Turn initialize_global_object() into a regular initialize() 2022-08-28 16:36:56 +01:00
Shell Userland: Consolidate most PATH resolving into a single implementation 2022-08-23 19:00:04 +01:00
Utilities LibJS: Turn initialize_global_object() into a regular initialize() 2022-08-28 16:36:56 +01:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00