Skip to main content

Text: Regexp match

Test a regular expression against the input text and output a boolean: true if the pattern matches anywhere in the input, false otherwise.

Unlike Text::RegexpCapture, a no-match is a legitimate false result, not a failure — the node never fails on a miss.

The pattern uses the Rust regex dialect, which does not support backreferences or lookaround assertions. Invalid patterns are rejected when the node is saved.

Example
Regexp: \d+
Input: hello 42
Output: true

Regexp: \d+
Input: hello world
Output: false

Parameters

Regexprequired

Regular expression tested against the input text (Rust regex dialect; no backreferences or lookaround). Validated on save.

Input

Textrequired
The text to test the regexp against.

Output

Boolean

true if the pattern matches anywhere in the input, false otherwise.