While git-grep uses POSIX basic regexp by default, git-config
can select a distinct one. Add the '-G' (--basic-regexp)
argument to be sure our regexps work on first try.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
 docs/devel/loads-stores.rst | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/docs/devel/loads-stores.rst b/docs/devel/loads-stores.rst
index c906c6509ee..fc78def0612 100644
--- a/docs/devel/loads-stores.rst
+++ b/docs/devel/loads-stores.rst
@@ -63,7 +63,7 @@ which stores ``val`` to ``ptr`` as an ``{endian}`` order value
 of size ``sz`` bytes.
 
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<ld[us]\?[bwlq]\(_[hbl]e\)\?_p\>``
  - ``\<st[bwlq]\(_[hbl]e\)\?_p\>``
  - ``\<st24\(_[hbl]e\)\?_p\>``
@@ -120,7 +120,7 @@ store: ``cpu_st{size}{end}_mmu(env, ptr, val, oi, retaddr)``
  - ``_be`` : big endian
  - ``_le`` : little endian
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<cpu_ld[bwlq]\(_[bl]e\)\?_mmu\>``
  - ``\<cpu_st[bwlq]\(_[bl]e\)\?_mmu\>``
 
@@ -154,7 +154,7 @@ store: ``cpu_st{size}{end}_mmuidx_ra(env, ptr, val, mmuidx, 
retaddr)``
  - ``_be`` : big endian
  - ``_le`` : little endian
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<cpu_ld[us]\?[bwlq]\(_[bl]e\)\?_mmuidx_ra\>``
  - ``\<cpu_st[bwlq]\(_[bl]e\)\?_mmuidx_ra\>``
 
@@ -192,7 +192,7 @@ store: ``cpu_st{size}{end}_data_ra(env, ptr, val, ra)``
  - ``_be`` : big endian
  - ``_le`` : little endian
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<cpu_ld[us]\?[bwlq]\(_[bl]e\)\?_data_ra\>``
  - ``\<cpu_st[bwlq]\(_[bl]e\)\?_data_ra\>``
 
@@ -231,7 +231,7 @@ store: ``cpu_st{size}{end}_data(env, ptr, val)``
  - ``_be`` : big endian
  - ``_le`` : little endian
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<cpu_ld[us]\?[bwlq]\(_[bl]e\)\?_data\>``
  - ``\<cpu_st[bwlq]\(_[bl]e\)\?_data\+\>``
 
@@ -265,7 +265,7 @@ load: ``cpu_ld{sign}{size}_code(env, ptr)``
  - ``l`` : 32 bits
  - ``q`` : 64 bits
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<cpu_ld[us]\?[bwlq]_code\>``
 
 ``translator_ld*``
@@ -296,7 +296,7 @@ swap: ``translator_ld{sign}{size}_swap(env, ptr, swap)``
  - ``l`` : 32 bits
  - ``q`` : 64 bits
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<translator_ld[us]\?[bwlq]\(_swap\)\?\>``
 
 ``helper_{ld,st}*_mmu``
@@ -325,7 +325,7 @@ store: ``helper_{size}_mmu(env, addr, val, opindex, 
retaddr)``
  - ``l`` : 32 bits
  - ``q`` : 64 bits
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<helper_ld[us]\?[bwlq]_mmu\>``
  - ``\<helper_st[bwlq]_mmu\>``
 
@@ -382,7 +382,7 @@ succeeded using a MemTxResult return code.
 
 The ``_{endian}`` suffix is omitted for byte accesses.
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<address_space_\(read\|write\|rw\)\>``
  - ``\<address_space_ldu\?[bwql]\(_[lb]e\)\?\>``
  - ``\<address_space_st[bwql]\(_[lb]e\)\?\>``
@@ -400,7 +400,7 @@ Note that portions of the write which attempt to write data 
to a
 device will be silently ignored -- only real RAM and ROM will
 be written to.
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``address_space_write_rom``
 
 ``{ld,st}*_phys``
@@ -438,7 +438,7 @@ device doing the access has no way to report such an error.
 
 The ``_{endian}_`` infix is omitted for byte accesses.
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<ldu\?[bwlq]\(_[bl]e\)\?_phys\>``
  - ``\<st[bwlq]\(_[bl]e\)\?_phys\>``
 
@@ -460,7 +460,7 @@ For new code they are better avoided:
 
 ``cpu_physical_memory_write``
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<cpu_physical_memory_\(read\|write\)\>``
 
 ``cpu_memory_rw_debug``
@@ -495,7 +495,7 @@ make sure our existing code is doing things correctly.
 
 ``dma_memory_rw``
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<dma_memory_\(read\|write\|rw\)\>``
  - ``\<ldu\?[bwlq]\(_[bl]e\)\?_dma\>``
  - ``\<st[bwlq]\(_[bl]e\)\?_dma\>``
@@ -536,7 +536,7 @@ correct address space for that device.
 
 The ``_{endian}_`` infix is omitted for byte accesses.
 
-Regexes for git grep:
+Regexes for git grep -G:
  - ``\<pci_dma_\(read\|write\|rw\)\>``
  - ``\<ldu\?[bwlq]\(_[bl]e\)\?_pci_dma\>``
  - ``\<st[bwlq]\(_[bl]e\)\?_pci_dma\>``
-- 
2.52.0


Reply via email to