Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RegExpLib

Hierarchy

  • RegExpLib

Index

Constructors

Methods

Constructors

constructor

Methods

Static aba

  • aba(column: string | RegExp, separator: string): RegExp
  • column(separator(column))* For ABA pattern, e.g. abc,def,ghi

    Parameters

    • column: string | RegExp

      the column expression

    • separator: string

      the separator

    Returns RegExp

Static getEmailAddressRegExp

  • getEmailAddressRegExp(): RegExp

Static test

  • test(exp: RegExp, value: string): boolean
  • Test a string with a specific expression.

    Parameters

    • exp: RegExp

      the expression

    • value: string

      the tested string

    Returns boolean

Generated using TypeDoc