Only precompile new regex if flag is enabled
The new regex uses too many resources to be enabled for all users. To gather experiment data, we will only use it if the flag is enabled. Only then will we compile the regex and run it against the selected text to get false positives and negatives data. Bug: 1029755 Change-Id: I19811328ce445612eea25a5b3d2b518211454469 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1950522Reviewed-by:Michael van Ouwerkerk <mvanouwerkerk@chromium.org> Commit-Queue: Richard Knoll <knollr@chromium.org> Cr-Commit-Position: refs/heads/master@{#721928}
Showing
Please register or sign in to comment