Add regex

This commit is contained in:
Wilfried OLLIVIER 2019-05-03 18:35:27 +02:00
parent 0fdf28c615
commit 15a570ea45
2 changed files with 14 additions and 0 deletions

13
src/dev/regex/main.md Normal file
View file

@ -0,0 +1,13 @@
# Regex
## Non capturing group
- 8 cats
- 9 dogs
- 10 cows
Match and capture **ONLY** the number of cats and dogs using ?:, for _non capturing_ groups
```txt
(\d+) (?:cats|dogs)
```