Prefer re2 over java.util.regex

Java's stock regex implementation doesn't guarantee linear time
complexity which makes it a security liability.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=121159875
This commit is contained in:
jart 2016-04-29 15:54:39 -07:00 committed by Justine Tunney
parent 3291eb8b70
commit 6082146d55
42 changed files with 64 additions and 39 deletions

View file

@ -508,6 +508,12 @@ def domain_registry_repositories():
sha1 = "f7122f6ab1f64bdf9f5970b0e89bfb355e036897",
)
native.maven_jar(
name = "re2j",
artifact = "com.google.re2j:re2j:1.1",
sha1 = "d716952ab58aa4369ea15126505a36544d50a333",
)
native.maven_jar(
name = "servlet_api",
artifact = "org.apache.tomcat:servlet-api:6.0.20",