@@ -37,25 +37,25 @@ This project implements a Regular Expression (Regex) Parser in the C programming
37
37
38
38
## Examples
39
39
40
- - ` hello contains {hello} `
41
- - ` gray|grey contains {gray, grey} `
42
- - ` gr(a|e)y contains {gray, grey} `
43
- - ` gr[ae]y contains {gray, grey} `
44
- - ` b[aeiou]bble contains {babble, bebble, bibble, bobble, bubble} `
45
- - ` [b-chm-pP]at|ot contains {bat, cat, hat, mat, nat, oat, pat, Pat, ot} `
40
+ - ` hello ` contains ` {hello} `
41
+ - ` gray|grey ` contains ` {gray, grey} `
42
+ - ` gr(a|e)y ` contains ` {gray, grey} `
43
+ - ` gr[ae]y ` contains ` {gray, grey} `
44
+ - ` b[aeiou]bble ` contains ` {babble, bebble, bibble, bobble, bubble} `
45
+ - ` [b-chm-pP]at|ot ` contains ` {bat, cat, hat, mat, nat, oat, pat, Pat, ot} `
46
46
- ` [a-zA-Z] ` matches any lowercase or uppercase letter.
47
- - ` colou?r contains {color, colour} `
48
- - ` rege(x(es)?|xps?) contains {regex, regexes, regexp, regexps} `
49
- - ` go*gle contains {ggle, gogle, google, gooogle, goooogle, ...} `
50
- - ` go+gle contains {gogle, google, gooogle, goooogle, ...} `
51
- - ` g(oog)+le contains {google, googoogle, googoogoogle, googoogoogoogle, ...} `
52
- - ` z{3} contains {zzz} `
53
- - ` z{3,6} contains {zzz, zzzz, zzzzz, zzzzzz} `
54
- - ` z{3,} contains {zzz, zzzz, zzzzz, ...} `
55
- - ` [Gg]o\*\*le contains {Go**le, go**le} `
47
+ - ` colou?r ` contains ` {color, colour} `
48
+ - ` rege(x(es)?|xps?) ` contains ` {regex, regexes, regexp, regexps} `
49
+ - ` go*gle ` contains ` {ggle, gogle, google, gooogle, goooogle, ...} `
50
+ - ` go+gle ` contains ` {gogle, google, gooogle, goooogle, ...} `
51
+ - ` g(oog)+le ` contains ` {google, googoogle, googoogoogle, googoogoogoogle, ...} `
52
+ - ` z{3} ` contains ` {zzz} `
53
+ - ` z{3,6} ` contains ` {zzz, zzzz, zzzzz, zzzzzz} `
54
+ - ` z{3,} ` contains ` {zzz, zzzz, zzzzz, ...} `
55
+ - ` [Gg]o\*\*le ` contains ` {Go**le, go**le} `
56
56
- ` \d ` matches any digit.
57
57
- ` 1\d{10} ` matches an 11-digit string starting with a 1.
58
- - ` Hello\nworld contains Hello followed by a newline followed by world `
58
+ - ` Hello\nworld ` contains Hello followed by a newline followed by world.
59
59
- ` mi.....ft ` contains a nine-character substring beginning with "mi" and ending with "ft".
60
60
- ` ^dog ` begins with "dog".
61
61
- ` dog$ ` ends with "dog".
0 commit comments