Skip to content

Commit

Permalink
fix deprecation message #128
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Sep 8, 2023
1 parent 199e696 commit 6cf454d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regex.nim
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ func match*(
pattern: Regex,
m: var RegexMatch,
start = 0
): bool {.inline, raises: [], deprecated: "use match(string, Regex2, var RegexMatch) instead".} =
): bool {.inline, raises: [], deprecated: "use match(string, Regex2, var RegexMatch2) instead".} =
result = matchImpl(s, pattern, m, start)

func match*(s: string, pattern: Regex): bool {.inline, raises: [], deprecated: "use match(string, Regex2) instead".} =
Expand Down

0 comments on commit 6cf454d

Please sign in to comment.