diff options
author | Eli Youngs <eli.m.youngs@gmail.com> | 2022-12-17 00:50:04 -0800 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-06 13:52:21 -0700 |
commit | 5bf2cce839fc6c953609f0297f30def65bbc7046 (patch) | |
tree | 929021276f90579606f9ea2187f570e4b1b29cea /Userland/Libraries | |
parent | 0c24522635ec7f07e1fb69d9e1cd350d81e2248f (diff) | |
download | serenity-5bf2cce839fc6c953609f0297f30def65bbc7046.zip |
LibRegex: Allow the SingleMatch flag to be used as a PosixFlag
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibRegex/RegexOptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibRegex/RegexOptions.h b/Userland/Libraries/LibRegex/RegexOptions.h index a292783128..faffa51cd0 100644 --- a/Userland/Libraries/LibRegex/RegexOptions.h +++ b/Userland/Libraries/LibRegex/RegexOptions.h @@ -53,6 +53,7 @@ enum class PosixFlags : FlagsUnderlyingType { SkipSubExprResults = (FlagsUnderlyingType)AllFlags::SkipSubExprResults, SkipTrimEmptyMatches = (FlagsUnderlyingType)AllFlags::SkipTrimEmptyMatches, Multiline = (FlagsUnderlyingType)AllFlags::Multiline, + SingleMatch = (FlagsUnderlyingType)AllFlags::SingleMatch, StringCopyMatches = (FlagsUnderlyingType)AllFlags::StringCopyMatches, }; |