Merge branch 'devel' into feature/async-streams

This commit is contained in:
Araq 2017-02-25 11:18:48 +01:00
commit 1961e444c3
115 changed files with 2208 additions and 877 deletions

11
tests/stdlib/tbug5382.nim Normal file
View 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]