Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationstring_matches

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
Feedback 👍
Comments are sent via email to me.