Skip to content

Commit db4f23d

Browse files
pstarliumarijnh
authored andcommitted
make a change so that the text reference to the code are consistent with code
1 parent 6356e42 commit db4f23d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

09_regexp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ continue on a new line, and dots do not match the newline character.
736736

737737
But the output of the previous example appears to have gone wrong. Why?
738738

739-
(((backtracking)))(((greed)))(((regular expression)))The `.*` part of
739+
(((backtracking)))(((greed)))(((regular expression)))The `[^]*` part of
740740
the expression, as I described in the section on backtracking, will
741741
first match as much as it can. If that causes the next part of the
742742
pattern to fail, the matcher moves back one character and tries again

0 commit comments

Comments
 (0)