From 5bf2cce839fc6c953609f0297f30def65bbc7046 Mon Sep 17 00:00:00 2001 From: Eli Youngs Date: Sat, 17 Dec 2022 00:50:04 -0800 Subject: LibRegex: Allow the SingleMatch flag to be used as a PosixFlag --- Userland/Libraries/LibRegex/RegexOptions.h | 1 + 1 file changed, 1 insertion(+) 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, }; -- cgit v1.2.3