captureCount doesn't need to be exposed that way

This commit is contained in:
Flaviu Tamas
2015-01-10 16:21:11 -05:00
parent 721ea11628
commit d2c20a32ed

View File

@@ -96,7 +96,7 @@ proc getinfo[T](self: Regex, opt: cint): T =
# XXX Error message that doesn't expose implementation details
raise newException(FieldError, "Invalid getinfo for $1, errno $2" % [$opt, $retcode])
proc captureCount*(self: Regex): int =
proc captureCount(self: Regex): int =
## get the maximum number of captures
##
## Does not return the number of captured captures