docs/devel/loads-stores: Fix git grep regexes
commite8d684508efa5c438c89a351b601108a37d08698
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Sep 2023 14:36:58 +0000 (15 15:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 13:45:57 +0000 (21 14:45 +0100)
tree175138aba2e0a5de9a5e0e2e47b6b3ebd5890dff
parent1321d84457a36cae0f59d2fcd5aff3af50a93b7d
docs/devel/loads-stores: Fix git grep regexes

The loads-and-stores documentation includes git grep regexes to find
occurrences of the various functions.  Some of these regexes have
errors, typically failing to escape the '?', '(' and ')' when they
should be metacharacters (since these are POSIX basic REs). We also
weren't consistent about whether to have a ':' on the end of the
line introducing the list of regexes in each section.

Fix the errors.

The following shell rune will complain about any REs in the
file which don't have any matches in the codebase:
 for re in $(sed -ne 's/ - ``\(\\<.*\)``/\1/p' docs/devel/loads-stores.rst); do git grep -q "$re" || echo "no matches for re $re"; done

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230904161703.3996734-1-peter.maydell@linaro.org
docs/devel/loads-stores.rst