This paste expires on 2023-04-12 09:46:25.981161. Repaste, or download this paste. . Pasted through web.

>>> import re
>>> re.match(r"(\s*[0-9][0-9]?[0-9]?\.\s*\w+\s*\n\s*)+", "  1.ok\n,   2.     not ok\n323. good")
<re.Match object; span=(0, 7), match='  1.ok\n'>
>>>
Filename: None. Size: 167b. View raw, , hex, or download this file.