From: Abseil Team Date: Thu, 9 Jun 2022 21:24:43 +0000 (-0700) Subject: Update googletest docs to indicate that RE2 is now used for regexp implementation... X-Git-Tag: release-1.12.0~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b1f84bf1763b1010597bff13c79b5388eebdf205;p=googletest.git 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 --- diff --git a/docs/advanced.md b/docs/advanced.md index a89d837..9a752b9 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