Companion

object Companion

Properties

Link copied to clipboard
const val JSREG_DOTALL: Int = 8
Link copied to clipboard
const val JSREG_FOLD: Int = 2
Link copied to clipboard
const val JSREG_GLOB: Int = 1
Link copied to clipboard
const val JSREG_MULTILINE: Int = 4
Link copied to clipboard
const val JSREG_STICKY: Int = 16
Link copied to clipboard
const val JSREG_UNICODE: Int = 32
Link copied to clipboard
const val MATCH: Int = 1
Link copied to clipboard
const val PREFIX: Int = 2
Link copied to clipboard
const val TEST: Int = 0

Functions

Link copied to clipboard
fun regExpExec(regexp: Scriptable, string: String, cx: Context, scope: Scriptable): Any?

The spec's RegExpExec: call the object's own exec when it has one.