1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-10-18 14:12:38 +00:00

Add list identifiers

This commit is contained in:
Mo 2022-08-26 12:49:32 +02:00
parent 84a05eac98
commit dba742033a

View file

@ -58,21 +58,21 @@
Can be used for example with `grep`, `rg`, `find`, `fd`, `nvim`, etc.
`^`: Start of line
`$`: End of line
`()`: Group
`[abcd]`: Character set, here `a` until `d`
`[a-z]`: Character range, here `a` until `z`
`[^b-h]`: Negated character range, here `b` to `h`
`.`: Any character
`.*`: 0 or more characters
`.+`: 1 or more characters
`\w`: Word
`\w`: Not word
`\d`: Digit
`\d`: Not digit
`\s`: Whitespace
`\s`: Not whitespace
- `^`: Start of line
- `$`: End of line
- `()`: Group
- `[abcd]`: Character set, here `a` until `d`
- `[a-z]`: Character range, here `a` until `z`
- `[^b-h]`: Negated character range, here `b` to `h`
- `.`: Any character
- `.*`: 0 or more characters
- `.+`: 1 or more characters
- `\w`: Word
- `\w`: Not word
- `\d`: Digit
- `\d`: Not digit
- `\s`: Whitespace
- `\s`: Not whitespace
## More tools