| Index: third_party/re2/re2/regexp.h
|
| diff --git a/third_party/re2/re2/regexp.h b/third_party/re2/re2/regexp.h
|
| index 1aebc16f9a245ac4c39b4a8416383957a115d535..331c017673c42574fcfff9f73ef181fe3ff0cadf 100644
|
| --- a/third_party/re2/re2/regexp.h
|
| +++ b/third_party/re2/re2/regexp.h
|
| @@ -197,7 +197,7 @@ class RegexpStatus {
|
|
|
| // Returns text equivalent of code, e.g.:
|
| // "Bad character class"
|
| - static const string& CodeText(enum RegexpStatusCode code);
|
| + static string CodeText(enum RegexpStatusCode code);
|
|
|
| // Returns text describing error, e.g.:
|
| // "Bad character class: [z-a]"
|
| @@ -299,6 +299,7 @@ class Regexp {
|
| // and \P{Han} for its negation.
|
| NeverNL = 1<<11, // Never match NL, even if the regexp mentions
|
| // it explicitly.
|
| + NeverCapture = 1<<12, // Parse all parens as non-capturing.
|
|
|
| // As close to Perl as we can get.
|
| LikePerl = ClassNL | OneLine | PerlClasses | PerlB | PerlX |
|
|
|