SuperSize: Caspian: Add name filtering
This mirrors the JS SuperSize implementation in supporting two regex parameters, for whitelisting and blacklisting. std::regex is two orders of magnitude too slow, so I've brought in RE2 from /third_party/. The front-end has code to validate input regexes and display a user-facing error in case of invalid input - this justified squashing any regex-parsing errors encountered on the WebAssembly side. Bug: 1011921 Change-Id: I36b73815d4fd72142580b78cf5ff08fc595990bb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1891113 Commit-Queue: Jasper Chapman-Black <jaspercb@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#710930}
Showing
Please register or sign in to comment