Extract compiled pattern to a constant

Given the regex is constant, there is no need to compile a new pattern
every time the method is called.

Change-Id: Ica43c0850b00be19d42c3850b572f881b4622d8b
1 file changed
tree: 02723baf25c2118d201ad97f07c62fb3d31a8d7e
  1. .settings/
  2. src/
  3. tools/
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. LICENSE
  8. WORKSPACE