[llvm] 088b5d1 - [docs] Update an example
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 08:42:05 PST 2022
Author: Paul Robinson
Date: 2022-12-21T08:41:38-08:00
New Revision: 088b5d1ad3a31ba46c369d1a6133b36d1727a0d8
URL: https://github.com/llvm/llvm-project/commit/088b5d1ad3a31ba46c369d1a6133b36d1727a0d8
DIFF: https://github.com/llvm/llvm-project/commit/088b5d1ad3a31ba46c369d1a6133b36d1727a0d8.diff
LOG: [docs] Update an example
Added:
Modified:
llvm/docs/TestingGuide.rst
Removed:
################################################################################
diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst
index 0601f9b9c29b3..bbf8ffed6a517 100644
--- a/llvm/docs/TestingGuide.rst
+++ b/llvm/docs/TestingGuide.rst
@@ -569,8 +569,8 @@ Also, it's generally better to write regular expressions that use entire
triple components, than to do something clever to shorten them. For
example, to match both freebsd and netbsd in an expression, you could write
``target={{.*(free|net)bsd.*}}`` and that would work. However, it would
-prevent a ``grep freebsd`` from finding this test. Better to use
-``target={{.*(freebsd|netbsd).*}}`` in this case.
+prevent a ``grep freebsd`` from finding this test. Better to use:
+``target={{.+-freebsd.*}} || target={{.+-netbsd.*}}``
Substitutions
More information about the llvm-commits
mailing list