init
This commit is contained in:
commit
acc61e858b
18 changed files with 5068 additions and 0 deletions
12
utils/regex.md
Normal file
12
utils/regex.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
layout: default
|
||||
title: Regex - notes
|
||||
---
|
||||
|
||||
How to match “any character” in the regular expression
|
||||
|
||||
- `.` → any char except newline
|
||||
- `\.` → the actual dot character
|
||||
- `.?` = `.{0,1}` → match any char except newline zero or one times
|
||||
- `.*` = `.{0,}` → match any char except newline zero or more times
|
||||
- `.+` = `.{1,}` → match any char except newline one or more times
|
Loading…
Add table
Add a link
Reference in a new issue