Skip to content

Commit 6e83799

Browse files
Update 01-chapter2.markdown
1 parent 7041227 commit 6e83799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01-chapter2.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ It is somewhat awkward that the matches are simply stored in sequence in arrays.
6565

6666
First, when you insert a new group somewhere in your regular expression all the array indexes in the following matches must be incremented. That's a nuisance.
6767

68-
Second, the string might be constructed at runtime and may contain a number of parentheses that is beyond our control. That means that we don't know at which index our nicely contructed parentheses match.
68+
Second, the string might be constructed at runtime and may contain a number of parentheses that is beyond our control. That means that we don't know at which index our nicely constructed parentheses match.
6969

7070
To resolve this issue _named matches_ were introduced. They allow to give a symbolic name to the match that can be used to look up the result.
7171

0 commit comments

Comments
 (0)