Update to regex 0.2.

This commit is contained in:
Andrew Gallant
2016-12-30 16:24:09 -05:00
parent d58236fbdc
commit 163e00677a
14 changed files with 335 additions and 61 deletions

View File

@@ -202,7 +202,7 @@ fn new_regex(pat: &str) -> Result<Regex, Error> {
.dot_matches_new_line(true)
.size_limit(10 * (1 << 20))
.dfa_size_limit(10 * (1 << 20))
.compile()
.build()
.map_err(|err| Error::Regex(err.to_string()))
}