Add missing symbols to regex (#20383)
* Add missing attribute to jsre * Add missing attribute to jsre
This commit is contained in:
parent
7023176dcb
commit
c8000b1025
2 changed files with 5 additions and 3 deletions
|
|
@ -20,6 +20,7 @@ type RegExp* = ref object of JsRoot
|
|||
lastParen*: cstring ## Ditto.
|
||||
leftContext*: cstring ## Ditto.
|
||||
rightContext*: cstring ## Ditto.
|
||||
hasIndices*: bool ## https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/hasIndices
|
||||
|
||||
|
||||
func newRegExp*(pattern: cstring; flags: cstring): RegExp {.importjs: "new RegExp(@)".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue