This subroutine is intended to be called from the forgex_cli_find_m
module.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(automaton_t), | intent(inout) | :: | automaton | |||
character(len=*), | intent(in) | :: | string | |||
logical, | intent(inout) | :: | res |
This procedure reads a text, performs regular expression matching using an automaton, and stores the string index in the argument if it contains a match.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(automaton_t), | intent(inout) | :: | automaton | |||
character(len=*), | intent(in) | :: | string | |||
integer, | intent(inout) | :: | from | |||
integer, | intent(inout) | :: | to |