Unexpose implementation detail
This commit is contained in:
parent
c4cb781c3d
commit
1652cdbaff
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ proc initRegex*(pattern: string, options = "Sx"): Regex =
|
|||
result.captureNameToId = result.getNameToNumberTable()
|
||||
# }}}
|
||||
|
||||
proc matchImpl*(str: string, pattern: Regex, start, endpos: int, flags: int): Option[RegexMatch] =
|
||||
proc matchImpl(str: string, pattern: Regex, start, endpos: int, flags: int): Option[RegexMatch] =
|
||||
var result: RegexMatch
|
||||
new(result)
|
||||
result.pattern = pattern
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue