mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
captureCount doesn't need to be exposed that way
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user