Merge pull request #2663 from koalazen/fix_re_comment

Fix comment in re
This commit is contained in:
Varriount 2015-05-07 12:51:15 -04:00
commit b5e06c0973

View file

@ -146,8 +146,8 @@ proc findBounds*(s: string, pattern: Regex,
proc findBounds*(s: string, pattern: Regex, proc findBounds*(s: string, pattern: Regex,
start = 0): tuple[first, last: int] = start = 0): tuple[first, last: int] =
## returns the starting position of `pattern` in `s`. If it does not ## returns the starting position and end position of ``pattern`` in ``s``.
## match, ``(-1,0)`` is returned. ## If it does not match, ``(-1,0)`` is returned.
var var
rtarray = initRtArray[cint](3) rtarray = initRtArray[cint](3)
rawMatches = rtarray.getRawData rawMatches = rtarray.getRawData