dm_regex_create Function

public function dm_regex_create(regex, pattern, error_message, error_offset) result(rc)

Creates new regular expression type from given pattern. Returns E_REGEX_COMPILE on error.

Arguments

Type IntentOptional Attributes Name
type(regex_type), intent(out) :: regex

Regular expression type.

character(len=*), intent(in) :: pattern

Pattern to compile.

character(len=:), intent(out), optional, allocatable :: error_message

Error message.

integer(kind=i8), intent(out), optional :: error_offset

Error offset in pattern.

Return Value integer


Calls

proc~~dm_regex_create~~CallsGraph proc~dm_regex_create dm_regex_create pcre2_compile pcre2_compile proc~dm_regex_create->pcre2_compile pcre2_get_error_message pcre2_get_error_message proc~dm_regex_create->pcre2_get_error_message

Called by

proc~~dm_regex_create~~CalledByGraph proc~dm_regex_create dm_regex_create proc~dm_regex_request dm_regex_request proc~dm_regex_request->proc~dm_regex_create proc~dm_regex_response_string dm_regex_response_string proc~dm_regex_response_string->proc~dm_regex_create