Skip to content

Commit

Permalink
Update googletest docs to indicate that RE2 is now used for regexp im…
Browse files Browse the repository at this point in the history
…plementation when building with Bazel and using Abseil.

PiperOrigin-RevId: 454012698
Change-Id: I3a9df78368ffe3cb7cf3d315001125b97b1aebbe
  • Loading branch information
Abseil Team authored and copybara-github committed Jun 9, 2022
1 parent 49c6185 commit b1f84bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1f84bf

Please sign in to comment.