Extracts all values by group from raw response in given request type. The regular expression is compiled and destroyed by this function. The response error is set to any occuring error code.
The function sets the following request error codes and returns:
E_INCOMPLETE if the request contains no pattern or no responses.E_INVALID if the regular expression is invalid.E_REGEX if a PCRE2 library error occured.E_REGEX_COMPILE if the pattern failed to compile.E_REGEX_EXCEEDED if the number of matches exceeds the O vector size.E_REGEX_NO_MATCH if the pattern does not match.The function sets the following response error codes:
E_EMPTY if response string of regular expression group is empty.E_INCOMPLETE if response could not be extracted.E_REGEX_NO_GROUP if no regular expression group matches.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(request_type), | intent(inout) | :: | request |
Request type. |