Unexpose implementation detail

This commit is contained in:
Flaviu Tamas
2015-01-12 20:57:20 -05:00
parent c4cb781c3d
commit 1652cdbaff

View File

@@ -277,7 +277,7 @@ proc initRegex*(pattern: string, options = "Sx"): Regex =
result.captureNameToId = result.getNameToNumberTable()
# }}}
proc matchImpl*(str: string, pattern: Regex, start, endpos: int, flags: int): Option[RegexMatch] =
proc matchImpl(str: string, pattern: Regex, start, endpos: int, flags: int): Option[RegexMatch] =
var result: RegexMatch
new(result)
result.pattern = pattern