Skip to main content

regexp

Availability

Device + Agent

Description

Squirrel’s regexp delegate object provides a series of methods which allow you to use and evaluate regular expressions within your Squirrel code.

Member Entities

The regexp object has the following member methods:

  • regexp.capture()Finds and tabulates sub-strings which match the target regular expression
  • regexp.match()Determines whether the target regular expression matches any part of the passed string
  • regexp.search()Finds the first sub-string within the passed string which matches the target regular expression

The regexp object has the following member function:

  • regexp()Instantiates a regular expression object