Merge branch 'devel' into feature/async-streams
This commit is contained in:
commit
1961e444c3
115 changed files with 2208 additions and 877 deletions
11
tests/stdlib/tbug5382.nim
Normal file
11
tests/stdlib/tbug5382.nim
Normal file
|
|
@ -0,0 +1,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]
|
||||
Loading…
Add table
Add a link
Reference in a new issue