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

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: