matches (~=)

Description

=~ or MATCHEStakes a text and checks if it matches a regular expression (python style).

Example

'Hello World' =~ '\d+'

will return false, since \d only matches numbers and Hello World contains letters.

Last updated