Multi RegExp
    Preparing search index...

    Class MultiRegExp

    Index

    Constructors

    Properties

    regExps: RegExp[]

    Methods

    • Finds all matches in the given string, starting at the given index.

      Parameters

      • string: string

        the string to search.

      • start: number = 0

        the starting index.

      Returns RegExpIterable

      an iterable of all matches, or an empty iterable if no match is found.

    • Find the first match in the given string.

      Parameters

      • string: string

        the string to search.

      Returns RegExpMatch

      the first match, or null if no match is found.

    • Find the first match in the given string starting at the given index.

      Parameters

      • string: string

        the string to search.

      • start: number = 0

        the starting index.

      Returns RegExpMatch

      the first match, or null if no match is found.

    • Find the first match in the given string.

      Parameters

      • string: string

        the string to search.

      Returns RegExpMatch

      the first match, or null if no match is found.

    • Find all matches in the given string starting at the given index.

      Parameters

      • str: string

        the string to search.

      • start: number = 0

        the starting index.

      Returns MultiRegexpExceArray

      an array of all matches, or null if no match is found.

    • Test if the given string matches any of the regular expressions.

      Parameters

      • string: string

        the string to test.

      Returns boolean

      true if the string matches any of the regular expressions.