diff options
author | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-01-12 20:57:20 -0500 |
---|---|---|
committer | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-01-12 20:57:20 -0500 |
commit | 1652cdbaff61cd50f7bb4e58570805f051310677 (patch) | |
tree | 3577372c12c1a9e125274e1efd6b36c3a0b17dc9 /src/nre.nim | |
parent | c4cb781c3d76245a729f1283e660cc8724adf836 (diff) | |
download | Nim-1652cdbaff61cd50f7bb4e58570805f051310677.tar.gz |
Unexpose implementation detail
Diffstat (limited to 'src/nre.nim')
-rw-r--r-- | src/nre.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nre.nim b/src/nre.nim index 13d0a2056..b25b1ad30 100644 --- a/src/nre.nim +++ b/src/nre.nim @@ -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 |