Skip to content

Commit 9f8fe36

Browse files
committed
Better wording
1 parent d2bdc8e commit 9f8fe36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/regex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Python interpreter, import the :mod:`re` module, and compile a RE::
392392
>>> p
393393
re.compile('[a-z]+')
394394

395-
Now, you can try searching various strings against the RE ``[a-z]+``. An empty
395+
Now, you can try matching various strings against the RE ``[a-z]+``. An empty
396396
string shouldn't match at all, since ``+`` means 'one or more repetitions'.
397397
:meth:`~re.Pattern.search` should return ``None`` in this case, which will cause the
398398
interpreter to print no output. You can explicitly print the result of

0 commit comments

Comments
 (0)