Skip to content

Commit e16d5ae

Browse files
Kristof Schockaertmarijnh
authored andcommitted
fix variable name
1 parent f922b04 commit e16d5ae

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
@@ -936,7 +936,7 @@ while (match = number.exec(input))
936936

937937
(((while loop)))(((= operator)))This makes use of the fact that the
938938
value of an ((assignment)) expression (`=`) is the assigned value. So
939-
by using `match = re.exec(input)` as the condition in the `while`
939+
by using `match = number.exec(input)` as the condition in the `while`
940940
statement, we perform the match at the start of each iteration, save
941941
its result in a ((variable)), and stop looping when no more matches
942942
are found.

0 commit comments

Comments
 (0)