diff options
author | 2023-05-17 09:55:24 -0700 | |
---|---|---|
committer | 2023-05-17 09:55:24 -0700 | |
commit | 84fd6a514aaaab0bc0d0794e9843d2e0e420c532 (patch) | |
tree | 92acf9ccf737415d84aa91f663567052c94f3451 /src/bun.js/bindings/JSBundlerPlugin.cpp | |
parent | bf1216021e77323a37872f3e58bad980660ea971 (diff) | |
download | bun-84fd6a514aaaab0bc0d0794e9843d2e0e420c532.tar.gz bun-84fd6a514aaaab0bc0d0794e9843d2e0e420c532.tar.zst bun-84fd6a514aaaab0bc0d0794e9843d2e0e420c532.zip |
Do the WebKit upgrade
Diffstat (limited to 'src/bun.js/bindings/JSBundlerPlugin.cpp')
-rw-r--r-- | src/bun.js/bindings/JSBundlerPlugin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bun.js/bindings/JSBundlerPlugin.cpp b/src/bun.js/bindings/JSBundlerPlugin.cpp index 279673afb..e93556963 100644 --- a/src/bun.js/bindings/JSBundlerPlugin.cpp +++ b/src/bun.js/bindings/JSBundlerPlugin.cpp @@ -49,9 +49,8 @@ void BundlerPlugin::NamespaceList::append(JSC::VM& vm, JSC::RegExp* filter, Stri Yarr::RegularExpression regex( StringView(filter->pattern()), - filter->flags().contains(Yarr::Flags::IgnoreCase) ? Yarr::TextCaseSensitivity::TextCaseInsensitive : Yarr::TextCaseSensitivity::TextCaseInsensitive, - filter->multiline() ? Yarr::MultilineMode::MultilineEnabled : Yarr::MultilineMode::MultilineDisabled, - filter->eitherUnicode() ? Yarr::UnicodeMode::UnicodeAwareMode : Yarr::UnicodeMode::UnicodeUnawareMode); + filter->flags()); + nsGroup->append(WTFMove(regex)); } |