[Autofill][Slimshady] Added a provider for enumerated regular
expressions. This utility class lazily builds the patterns, compiles and caches enumerated regular expressions that are used for parsing and matching. The justification for this is that it becomes unnecessary to repeatedly rebuild patterns and pass them around the code. Further, a future integration of a component updater to change the patterns behind on of the expressions becomes minimally invasive. Change-Id: Icb7082e504603b43358a6d84f853e7b5336c3cad Bug: 1099202 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299632 Commit-Queue: Matthias Körber <koerber@google.com> Reviewed-by:Dominic Battré <battre@chromium.org> Cr-Commit-Position: refs/heads/master@{#790415}
Showing
Please register or sign in to comment