To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationstring_matches

string_matches (string text, string regex_pattern) ⇒ boolean

Returns a boolean true or false value as to whether a string, text, matches the regular language pattern, regex_pattern.

Alternative function names: str_matches
First available: Version 1.3.3

Notes

It is worth noting that this is less efficient than running a == on a string because it first needs to compile a regular expression.

Comments

There are no comments on this page.

New comment
Reply
Provide feedback on this page
Comments are sent via email to me.