class RegExp extends scala.scalajs.js.Object with StObject with std.RegExp

Annotations
@JSType() @JSGlobal("RegExp") @native()
Source
RegExp.scala
Linear Supertypes
std.RegExp, StObject, scala.scalajs.js.Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RegExp
  2. RegExp
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RegExp(pattern: scala.scalajs.js.RegExp, flags: java.lang.String)
  2. new RegExp(pattern: java.lang.String, flags: java.lang.String)
  3. new RegExp(pattern: scala.scalajs.js.RegExp)
  4. new RegExp(pattern: java.lang.String)
  5. new RegExp()
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def compile(): RegExp.this.type
    Definition Classes
    RegExp
  7. val dotAll: scala.Boolean

    Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.

    Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression. Default is false. Read-only.

    Definition Classes
    RegExp
  8. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  10. def exec(string: java.lang.String): |[RegExpExecArray, Null]

    Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.

    Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.

    string

    The String object or string literal on which to perform the search.

    Definition Classes
    RegExp
  11. val flags: java.lang.String

    Returns a string indicating the flags of the regular expression in question.

    Returns a string indicating the flags of the regular expression in question. This field is read-only. The characters in this string are sequenced and concatenated in the following order:

    • "g" for global
    • "i" for ignoreCase
    • "m" for multiline
    • "u" for unicode
    • "y" for sticky

    If no flags are set, the value is the empty string.

    Definition Classes
    RegExp
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. val global: scala.Boolean

    Returns a Boolean value indicating the state of the global flag (g) used with a regular expression.

    Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only.

    Definition Classes
    RegExp
  14. def hasOwnProperty(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. val ignoreCase: scala.Boolean

    Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression.

    Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only.

    Definition Classes
    RegExp
  17. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: scala.scalajs.js.Object): scala.Boolean
    Definition Classes
    Object
  19. val lastIndex: Double
    Definition Classes
    RegExp
  20. val match: Function1[java.lang.String, |[RegExpMatchArray, Null]]

    Matches a string with this regular expression, and returns an array containing the results of that search.

    Matches a string with this regular expression, and returns an array containing the results of that search.

    Definition Classes
    RegExp
    Annotations
    @JSName(js.Symbol.`match`)
  21. val multiline: scala.Boolean

    Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression.

    Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only.

    Definition Classes
    RegExp
  22. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. def propertyIsEnumerable(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  26. val replace: Function2[java.lang.String, java.lang.String, java.lang.String] with Function2[java.lang.String, Function2[java.lang.String, Any, java.lang.String], java.lang.String]

    Replaces text in a string, using this regular expression.

    Replaces text in a string, using this regular expression.

    Definition Classes
    RegExp
    Annotations
    @JSName(js.Symbol.replace)
  27. val search: Function1[java.lang.String, Double]

    Finds the position beginning first substring match in a regular expression search using this regular expression.

    Finds the position beginning first substring match in a regular expression search using this regular expression.

    Definition Classes
    RegExp
    Annotations
    @JSName(js.Symbol.search)
  28. val source: java.lang.String

    Returns a copy of the text of the regular expression pattern.

    Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal.

    Definition Classes
    RegExp
  29. val split: Function2[java.lang.String, UndefOr[Double], scala.scalajs.js.Array[java.lang.String]]

    Returns an array of substrings that were delimited by strings in the original input that match against this regular expression.

    Returns an array of substrings that were delimited by strings in the original input that match against this regular expression.

    If the regular expression contains capturing parentheses, then each time this regular expression matches, the results (including any undefined results) of the capturing parentheses are spliced.

    Definition Classes
    RegExp
    Annotations
    @JSName(js.Symbol.split)
  30. val sticky: scala.Boolean

    Returns a Boolean value indicating the state of the sticky flag (y) used with a regular expression.

    Returns a Boolean value indicating the state of the sticky flag (y) used with a regular expression. Default is false. Read-only.

    Definition Classes
    RegExp
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def test(string: java.lang.String): scala.Boolean

    Returns a Boolean value that indicates whether or not a pattern exists in a searched string.

    Returns a Boolean value that indicates whether or not a pattern exists in a searched string.

    string

    String on which to perform the search.

    Definition Classes
    RegExp
  33. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  34. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  35. val unicode: scala.Boolean

    Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular expression.

    Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular expression. Default is false. Read-only.

    Definition Classes
    RegExp
  36. def valueOf(): Any
    Definition Classes
    Object
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from std.RegExp

Inherited from StObject

Inherited from scala.scalajs.js.Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped