Returns E_NONE if given subject matches the compiled regular
expression.
The function returns the following error codes:
E_NULL if regular expression context is not associated.E_REGEX if a PCRE2 library error occured.E_REGEX_EXCEEDED if the number of matches exceeds the O vector size.E_REGEX_NO_MATCH if the pattern does not match.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(regex_type), | intent(inout) | :: | regex |
Regular expression type. |
||
| character(len=*), | intent(in) | :: | subject |
Input string to match against. |