multiple pages: normalize regular expression
instead of regex
, regexp
or pattern
(#5830)
This commit is contained in:
@@ -17,4 +17,4 @@
|
||||
|
||||
- Search for packages that match the regular expresssion given in `pattern`:
|
||||
|
||||
`apt-file {{search|find}} --regexp {{pattern}}`
|
||||
`apt-file {{search|find}} --regexp {{regular_expression}}`
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
- Display AUR packages that match a regular expression:
|
||||
|
||||
`auracle search '{{regex}}'`
|
||||
`auracle search '{{regular_expression}}'`
|
||||
|
||||
- Display package information for a space-separated list of AUR packages:
|
||||
|
||||
|
@@ -22,4 +22,4 @@
|
||||
|
||||
- Split a file at a line matching a regular expression:
|
||||
|
||||
`csplit {{file}} /{{regex}}/`
|
||||
`csplit {{file}} /{{regular_expression}}/`
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
- Exclude files matching a regular expression:
|
||||
|
||||
`while inotifywait --recursive {{path/to/directory}} --exlude '{{regex}}'; do {{command}}; done`
|
||||
`while inotifywait --recursive {{path/to/directory}} --exlude '{{regular_expression}}'; do {{command}}; done`
|
||||
|
||||
- Wait at most 30 seconds:
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
- Find the package that owns a specific file, using a regular expression:
|
||||
|
||||
`pacman --files --regex '{{search_pattern}}'`
|
||||
`pacman --files --regex '{{regular_expression}}'`
|
||||
|
||||
- List only the package names:
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
- Use extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`):
|
||||
|
||||
`zgrep -E {{^regex$}} {{path/to/file}}`
|
||||
`zgrep -E {{regular_expression}} {{path/to/file}}`
|
||||
|
||||
- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match:
|
||||
|
||||
|
Reference in New Issue
Block a user