Skip to content

Commit b1f84bf

Browse files
Abseil Teamcopybara-github
authored andcommitted
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
1 parent 49c6185 commit b1f84bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/advanced.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,11 @@ TEST_F(FooDeathTest, DoesThat) {
482482
483483
### Regular Expression Syntax
484484
485-
On POSIX systems (e.g. Linux, Cygwin, and Mac), googletest uses the
485+
When built with Bazel and using Abseil, googletest uses the
486+
[RE2](https://github.com/google/re2/wiki/Syntax) syntax. Otherwise, for POSIX
487+
systems (Linux, Cygwin, Mac), googletest uses the
486488
[POSIX extended regular expression](http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html#tag_09_04)
487-
syntax. To learn about this syntax, you may want to read this
489+
syntax. To learn about POSIX syntax, you may want to read this
488490
[Wikipedia entry](http://en.wikipedia.org/wiki/Regular_expression#POSIX_Extended_Regular_Expressions).
489491
490492
On Windows, googletest uses its own simple regular expression implementation. It

0 commit comments

Comments
 (0)