From 088b5d1ad3a31ba46c369d1a6133b36d1727a0d8 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Wed, 21 Dec 2022 08:41:38 -0800 Subject: [PATCH] [docs] Update an example --- llvm/docs/TestingGuide.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst index 0601f9b..bbf8ffe 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 -- 2.7.4