summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-06-09 14:24:43 -0700
committerCopybara-Service <copybara-worker@google.com>2022-06-09 14:25:17 -0700
commitb1f84bf1763b1010597bff13c79b5388eebdf205 (patch)
tree5b913d5a89579c987a64b7d5a30d9106524a0db1 /docs
parent49c6185ae7b4427428c70f05ac46c8d4cb32f685 (diff)
downloadgoogletest-git-b1f84bf1763b1010597bff13c79b5388eebdf205.tar.gz
Update googletest docs to indicate that RE2 is now used for regexp implementation when building with Bazel and using Abseil.
PiperOrigin-RevId: 454012698 Change-Id: I3a9df78368ffe3cb7cf3d315001125b97b1aebbe
Diffstat (limited to 'docs')
-rw-r--r--docs/advanced.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/advanced.md b/docs/advanced.md
index a89d837b..9a752b92 100644
--- a/docs/advanced.md
+++ b/docs/advanced.md
@@ -482,9 +482,11 @@ TEST_F(FooDeathTest, DoesThat) {
### Regular Expression Syntax
-On POSIX systems (e.g. Linux, Cygwin, and Mac), googletest uses the
+When built with Bazel and using Abseil, googletest uses the
+[RE2](https://github.com/google/re2/wiki/Syntax) syntax. Otherwise, for POSIX
+systems (Linux, Cygwin, Mac), googletest uses the
[POSIX extended regular expression](http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html#tag_09_04)
-syntax. To learn about this syntax, you may want to read this
+syntax. To learn about POSIX syntax, you may want to read this
[Wikipedia entry](http://en.wikipedia.org/wiki/Regular_expression#POSIX_Extended_Regular_Expressions).
On Windows, googletest uses its own simple regular expression implementation. It