Question whether given regular expression pattern matches against given subject

regex:match?(STRING regex_pattern
, STRING subject) : BOOL

regex:match?('/i/','hi')
#=> TRUE

# check if
regex:match?('~^h~','Hi')
#=> FALSE

regex:match?('~^h~i','Hi')
#=> TRUE

#===
regex:match?('/.*\.sunsed\.cloud?/', 'asjdfksdj.sunsed.cloud')
#=> TRUE

Copyright ©2013-2022 SunSed®. All rights reserved.