summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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