blob: c86656d32b5323387bd7672e80507361f0c9f62d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
discard """
output: '''
02
'''
"""
import re
let regexp = re"^\/([0-9]{2})\.html$"
var matches: array[1, string]
discard "/02.html".find(regexp, matches)
echo matches[0]
|