1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:35:09 +00:00
serenity/Userland/Libraries
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
..
LibArchive Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibAudio Base: Launch AudioServer at session start-up 2022-08-14 21:52:35 +01:00
LibC LibC: Add stubs for 'removexattr()' and friends 2022-08-28 15:42:14 +01:00
LibCards LibCards: Remove card-back-image scaling 2022-08-22 12:50:41 +02:00
LibChess ChessEngine: Use reduced Board objects in MCTSTree 2022-08-22 21:20:41 +02:00
LibCodeComprehension Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
LibCompress LibCompress: Write Deflate window size in the Zlib header 2022-07-10 13:52:18 +03:00
LibConfig Base: Launch ConfigServer at session start-up 2022-08-14 21:52:35 +01:00
LibCore Userland: Consolidate most PATH resolving into a single implementation 2022-08-23 19:00:04 +01:00
LibCoredump Everywhere: Make the codebase more architecture aware 2022-07-27 21:46:42 +00:00
LibCpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
LibCrypt Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibCrypto LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
LibDebug Everywhere: Make the codebase more architecture aware 2022-07-27 21:46:42 +00:00
LibDesktop LibCore+LibIPC: Recognise %uid in path 2022-08-14 21:52:35 +01:00
LibDeviceTree Libraries: Add LibDeviceTree for manipulating OpenFirmware Device Trees 2021-10-21 19:20:03 -07:00
LibDiff Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibDl Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibDNS Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibDSP LibDSP: Add a fixed mastering processor to Track 2022-07-25 15:25:13 +02:00
LibEDID Kernel+Userland: Rename FB.h => Graphics.h 2022-07-23 10:42:08 +01:00
LibELF Utilities+LibELF: Temporary promises for dynamic linker in "pledge" 2022-07-21 16:40:11 +02:00
LibFileSystemAccessClient Base: Launch FileSystemAccessServer at session start-up 2022-08-14 21:52:35 +01:00
LibGemini Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
LibGfx LibGfx: Allow non-const indexing into VectorN 2022-08-27 12:28:05 +02:00
LibGL LibGL+LibGPU+LibSoftGPU: Report texture env add extension 2022-08-28 23:45:43 +01:00
LibGPU LibGL+LibGPU+LibSoftGPU: Report texture env add extension 2022-08-28 23:45:43 +01:00
LibGUI LibGUI: Make CommandPalette and EmojiInputDialog passive modals 2022-08-28 16:04:35 +01:00
LibHTTP LibHTTP+WebServer: Add querystring support 2022-08-02 21:05:32 +00:00
LibImageDecoderClient Base: Launch ImageDecoder at session start-up 2022-08-14 21:52:35 +01:00
LibIMAP Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
LibIPC LibCore+LibIPC: Recognise %uid in path 2022-08-14 21:52:35 +01:00
LibJS LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
LibKeyboard Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibLine LibLine: Ignore empty spans when stylizing 2022-07-17 00:51:31 +00:00
LibM LibM: Implement fma 2022-07-08 22:27:38 +00:00
LibMain Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibMarkdown LibMarkdown: Fix coloring of the first line 2022-08-04 16:57:26 +00:00
LibPartition LibPartition: Fix end block off by one error 2022-07-21 20:13:44 +01:00
LibPCIDB Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibPDF Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
LibProtocol Base: Launch WebSocket at session start-up 2022-08-14 21:52:35 +01:00
LibRegex LibRegex: Explicitly check if a character falls into a table-based range 2022-08-29 16:34:47 -04:00
LibSanitizer Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibSoftGPU LibGL+LibGPU+LibSoftGPU: Report texture env add extension 2022-08-28 23:45:43 +01:00
LibSQL Base: Launch SQLServer at session start-up 2022-08-14 21:52:35 +01:00
LibSymbolication Everywhere: Make the codebase more architecture aware 2022-07-27 21:46:42 +00:00
LibSyntax Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibSystem Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00
LibTest LibJS: Turn initialize_global_object() into a regular initialize() 2022-08-28 16:36:56 +01:00
LibTextCodec Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibThreading Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
LibTimeZone Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibTLS Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibUnicode LibUnicode: Fix compilation when ENABLE_UNICODE_DATABASE_DOWNLOAD is OFF 2022-08-25 16:20:22 +01:00
LibUSBDB Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibVideo Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibVT LibVT: Remove Vector<Kernel::KString> title stack 2022-07-14 13:13:48 +02:00
LibWasm Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
LibWeb LibJS+LibWeb: Let Realm store a plain Object for [[GlobalObject]] 2022-08-28 16:36:56 +01:00
LibWebSocket Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
LibWebView Base: Launch WebContent at session start-up 2022-08-14 21:52:35 +01:00
LibX86 Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
LibXML Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CMakeLists.txt Kernel+LibPartition: Move DiskPartitionMetadata into LibPartition 2022-07-21 20:13:44 +01:00