summary refs log tree commit diff stats
path: root/src/nre.nim
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-01-12 20:57:20 -0500
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-01-12 20:57:20 -0500
commit1652cdbaff61cd50f7bb4e58570805f051310677 (patch)
tree3577372c12c1a9e125274e1efd6b36c3a0b17dc9 /src/nre.nim
parentc4cb781c3d76245a729f1283e660cc8724adf836 (diff)
downloadNim-1652cdbaff61cd50f7bb4e58570805f051310677.tar.gz
Unexpose implementation detail
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 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