diff --git a/docs/CommandGuide/FileCheck.rst b/docs/CommandGuide/FileCheck.rst index e7076c2f30e..c0f64a413e0 100644 --- a/docs/CommandGuide/FileCheck.rst +++ b/docs/CommandGuide/FileCheck.rst @@ -265,7 +265,7 @@ simple example: ; CHECK: test5: ; CHECK: notw [[REGISTER:%[a-z]+]] - ; CHECK: andw {{.*}}[REGISTER]] + ; CHECK: andw {{.*}}[[REGISTER]] The first check line matches a regex (**%[a-z]+**) and captures it into