From d2c20a32edd8ecb0d2ddaa3cfe39774caedceceb Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Sat, 10 Jan 2015 16:21:11 -0500 Subject: [PATCH] captureCount doesn't need to be exposed that way --- src/nre.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nre.nim b/src/nre.nim index cb15fb2602..338b269446 100644 --- a/src/nre.nim +++ b/src/nre.nim @@ -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