commit | 578843a516fd1da7084ae46209a75f3613b6065e | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Fri Mar 17 04:22:52 2023 -0700 |
committer | Paul Wankadia <junyer@google.com> | Fri Mar 17 11:36:51 2023 +0000 |
tree | 5d5979bb97e948684fef72a95dd24fb1682e50cf | |
parent | 2fd6fbb87d9146f885b7dda557581c392279e652 [diff] |
Add a `re()` method to the `Filter` class. Callers shouldn't have to duplicate the regular expressions. Note that the name of the method is consistent with the name of the property in the `_Match` class. Change-Id: If418f820fd6d460cfa4d90f8a837f1cb7994608d Reviewed-on: https://code-review.googlesource.com/c/re2/+/61170 Reviewed-by: Perry Lorier <perryl@google.com> Reviewed-by: Paul Wankadia <junyer@google.com>