Skip to content

Commit cc9eb56

Browse files
authored
Merge pull request #29 from LibraryCarpentry/fix-reg-ex
Correct * to + in reg ex
2 parents 3086c02 + 45b3d77 commit cc9eb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/04-regular-expressions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ So, what is `^[Oo]rgani.e\b` going to match.
6868
Other useful special characters are:
6969
7070
- `*` matches the preceding element zero or more times. For example, ab*c matches "ac", "abc", "abbbc", etc.
71-
- `+` matches the preceding element one or more times. For example, ab*c matches "abc", "abbbc" but not "ac".
71+
- `+` matches the preceding element one or more times. For example, ab+c matches "abc", "abbbc" but not "ac".
7272
- `?` matches when the preceding character appears zero or one time.
7373
- `{VALUE}` matches the preceding character the number of times define by VALUE; ranges can be specified with the syntax `{VALUE,VALUE}`
7474
- `|` means or.

0 commit comments

Comments
 (0)