Skip to content
Snippets Groups Projects
Commit 4e1a5fbc authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

fix special pattern syntax for grep

parent 9be4b47d
No related branches found
No related tags found
No related merge requests found
Pipeline #87495 passed
...@@ -70,13 +70,13 @@ grep with Regular Expressions ...@@ -70,13 +70,13 @@ grep with Regular Expressions
* **[]** bracket expressions: defines a set of characters * **[]** bracket expressions: defines a set of characters
* *[abc]* : matches character *"a"* or *"b"* or *"c"* * *[abc]* : matches character *"a"* or *"b"* or *"c"*
* *[a-z]* : matches on character in the range from *"a"* to *"z"*, ie *"a"* or *"b"* ... or *"z"* * *[a-z]* : matches on character in the range from *"a"* to *"z"*, ie *"a"* or *"b"* ... or *"z"*
* *[:alnum:]* : matches any letter or numberic characters * *[[:alnum:]]* : matches any letter or numberic characters
* *[:alpha:]* : matches any letter * *[[:alpha:]]* : matches any letter
* *[:digit:]* : matches any number * *[[:digit:]]* : matches any number
* *[:lower:]* : matches any letter in range [a-z] * *[[:lower:]]* : matches any letter in range [a-z]
* *[:upper:]* : matches any letter in range [A-Z] * *[[:upper:]]* : matches any letter in range [A-Z]
* *[:punct:]* : matches any punctuation character * *[[:punct:]]* : matches any punctuation character
* *[:space:]* : matches any space character (space, tab, ...) * *[[:space:]]* : matches any space character (space, tab, ...)
* Anchoring. * Anchoring.
* **^** represent start of the string. * **^** represent start of the string.
* **$** represent end of the string. * **$** represent end of the string.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment