DescriptionReland II of 'Optimize trivial regexp disjunctions' CL 1176453002
This change rewrites regexps like (ab|ac|z|ad|ae|af) into (a[b-f]|z). We can only reorder disjunctions like this for case-dependent regexps. For case-independent regexps, the disjunctions should be pre-sorted for best results.
R=yangguo@chromium.org
BUG=chromium:482998
LOG=n
Committed: https://crrev.com/05507cc3ea6e96e9e9df98d276c235eea32374dd
Cr-Commit-Position: refs/heads/master@{#28902}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Re-add test #
Messages
Total messages: 11 (3 generated)
|