mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 23:05:27 +00:00
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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user