From 1652cdbaff61cd50f7bb4e58570805f051310677 Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Mon, 12 Jan 2015 20:57:20 -0500 Subject: Unexpose implementation detail --- src/nre.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nre.nim') 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 -- cgit 1.4.1-2-gfad0