summary refs log tree commit diff stats
path: root/src/nre.nim
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-01-10 16:21:11 -0500
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-01-10 16:21:11 -0500
commitd2c20a32edd8ecb0d2ddaa3cfe39774caedceceb (patch)
treeda35934c69f4d329e9fd58482569a57216c83cf5 /src/nre.nim
parent721ea11628a3717b07c1867096e817f06068a24e (diff)
downloadNim-d2c20a32edd8ecb0d2ddaa3cfe39774caedceceb.tar.gz
captureCount doesn't need to be exposed that way
Diffstat (limited to 'src/nre.nim')
-rw-r--r--src/nre.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nre.nim b/src/nre.nim
index cb15fb260..338b26944 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