mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 01:34:02 +00:00
Merge branch 'master' of github.com:Araq/Nimrod
This commit is contained in:
@@ -1734,7 +1734,6 @@ when isMainModule:
|
||||
else:
|
||||
doAssert false
|
||||
|
||||
var matches: array[0..5, string]
|
||||
if match("abcdefg", peg"c {d} ef {g}", matches, 2):
|
||||
doAssert matches[0] == "d"
|
||||
doAssert matches[1] == "g"
|
||||
|
||||
Reference in New Issue
Block a user