RegExp Block

Modified: 2008/01/26 20:00 by Andy Sterland - Categorized as: Popfly Blocks

Table of Contents [Hide/Show]

Enables processing of a regular expression.

Edit

Operations

Edit

getMatches



Returns the set of matches for the regular expression

Inputs

NameDescription
expressionThe regular expression (backslashes must be escaped)
textToMatchThe text to match

Outputs

Name
string

Edit

isMatch



Returns true if the text matches for the regular expression, or false otherwise

Inputs

NameDescription
expressionThe regular expression (backslashes must be escaped)
textToMatchThe text to match

Outputs

Name
boolean

Edit

isWholeNumber



Returns true if the expression is a whole number (with no punctuation), or false otherwise

Inputs

NameDescription
textThe input which may or may not be a number

Outputs

Name
boolean


Edit

Objects

Details about type definitions can be found on the Block Metadata Type System page.

Privacy. Terms of Use. Trademarks.
ScrewTurn Wiki version 2.0.22. Some of the icons created by FamFamFam.