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