Skip to content

Commit a923d35

Browse files
committed
Initial commit
1 parent 3e327dc commit a923d35

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ This project implements a Regular Expression (Regex) Parser in the C programming
3737

3838
## Examples
3939

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}`
4646
- `[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}`
5656
- `\d` matches any digit.
5757
- `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.
5959
- `mi.....ft` contains a nine-character substring beginning with "mi" and ending with "ft".
6060
- `^dog` begins with "dog".
6161
- `dog$` ends with "dog".

0 commit comments

Comments
 (0)