File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,13 @@ Parentheses `()` can be used to group sequences, which allows for embedding alte
59
59
60
60
## Repetition and Optional Symbols
61
61
62
- - ` * ` after a symbol or sequence means that it can be repeated zero or more times.
63
- - ` + ` denotes that the symbol or sequence should appear one or more times.
64
- - ` ? ` makes the preceding symbol or sequence optional.
62
+ - ` * ` after a symbol or sequence means that it can be repeated zero or more times (equivalent to ` {0,} ` ).
63
+ - ` + ` denotes that the symbol or sequence should appear one or more times (equivalent to ` {1,} ` ).
64
+ - ` ? ` makes the preceding symbol or sequence optional (equivalent to ` {0,1} ` ).
65
+ - ` {m} ` repeats the precedent symbol or sequence exactly ` m ` times
66
+ - ` {m,} ` repeats the precedent symbol or sequence at least ` m ` times
67
+ - ` {m,n} ` repeats the precedent symbol or sequence at betwen ` m ` and ` n ` (included) times (included)
68
+ - ` {,n} ` repeats the precedent symbol or sequence at most ` n ` times (included)
65
69
66
70
## Comments and newlines
67
71
You can’t perform that action at this time.
0 commit comments