diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2022-02-25 01:43:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 10:43:35 +0100 |
commit | fe791c67b4c028d2e439e6f74e0a4225ba6cc2f1 (patch) | |
tree | d5dddbf3a21244b95c0d48ee850cf0a7df966fd1 /lib | |
parent | 9a49451124a781a2cd032b6e7616c67a7815fe57 (diff) | |
download | Nim-fe791c67b4c028d2e439e6f74e0a4225ba6cc2f1.tar.gz |
Remove Deprecated jsre func (#19551)
* Remove Deprecated jsre func * Remove Deprecated jsre func * ReStart CI, because OSX is dumb and I have no permission to restart
Diffstat (limited to 'lib')
-rw-r--r-- | lib/js/jsre.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/js/jsre.nim b/lib/js/jsre.nim index a23fccaa8..cd8fb2be7 100644 --- a/lib/js/jsre.nim +++ b/lib/js/jsre.nim @@ -47,10 +47,6 @@ func toCstring*(self: RegExp): cstring {.importjs: "#.toString()".} func `$`*(self: RegExp): string = $toCstring(self) -func test*(self: RegExp; pattern: cstring): bool {.importjs: "#.test(#)", deprecated: "Use contains instead".} - -func toString*(self: RegExp): cstring {.importjs: "#.toString()", deprecated: "Use toCstring instead".} - func contains*(pattern: cstring; self: RegExp): bool = ## Tests for a substring match in its string parameter. runnableExamples: |