Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RegExp

RegExp (Native)

The ThoughtAsylum library includes a set of extensions to the standard RegExp object. These are used to simpify common actions in terms of working with regular expressions.

Hierarchy

  • RegExp

Index

Methods

Methods

TA_escape

  • TA_escape(): string
  • Escape a regular expression string to ensure things like hyphens and square brackets, which Drafts uses in standard check mark syntax for example, is not translated to a special pattern identifier, but remains intact and interpreted as the litral character.

    Returns string