projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2549b8b
)
[docs] Update an example
author
Paul Robinson
<paul.robinson@sony.com>
Wed, 21 Dec 2022 16:41:38 +0000
(08:41 -0800)
committer
Paul Robinson
<paul.robinson@sony.com>
Wed, 21 Dec 2022 16:41:38 +0000
(08:41 -0800)
llvm/docs/TestingGuide.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/TestingGuide.rst
b/llvm/docs/TestingGuide.rst
index
0601f9b
..
bbf8ffe
100644
(file)
--- 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