commit | 8f5dbc83eaec2b904424c0084e26dee992091614 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Sep 17 06:26:45 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Sep 17 06:26:45 2010 +0000 |
tree | 0d2e494747face35835cc986fa52173d70f45c8c | |
parent | 35c87f2b8e5cc62c91a3bdbaec4de50d366f6228 [diff] [blame] |
Fix typo in example regular expression.
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 487d0e5..9787bcb 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst
@@ -1299,7 +1299,7 @@ def tokenize(s): tok_spec = [ - ('NUMBER', r'\d+(.\d+)?'), # Integer or decimal number + ('NUMBER', r'\d+(\.\d*)?'), # Integer or decimal number ('ASSIGN', r':='), # Assignment operator ('END', ';'), # Statement terminator ('ID', r'[A-Za-z]+'), # Identifiers