You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 01-chapter2.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ It is somewhat awkward that the matches are simply stored in sequence in arrays.
65
65
66
66
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.
67
67
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.
69
69
70
70
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.
0 commit comments