1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 14:17:56 +01:00

Merge pull request #941 from thalesmello/master

Make extended regular expressions clearer
This commit is contained in:
Leandro Ostera 2016-07-04 22:49:29 +02:00 committed by GitHub
commit 37d2e6b393

View file

@ -15,9 +15,9 @@
`grep -rI {{search_string}} .`
- Use a regular expression (`-E` for extended regex, supporting `?`, `+`, `{}`, `()` and `|`):
- Use extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`):
`grep -e {{^regex$}} {{path/to/file}}`
`grep -E {{^regex$}} {{path/to/file}}`
- Print 3 lines of context around each match: