forgex_cli_api_internal_no_opts_m Module


Uses

    • forgex_parameters_m
    • forgex_automaton_m
    • forgex_utf8_m

Subroutines

public subroutine do_matching_exactly_no_literal_opts(automaton, string, res)

This subroutine is intended to be called from the forgex_cli_find_m module.

Arguments

Type IntentOptional Attributes Name
type(automaton_t), intent(inout) :: automaton
character(len=*), intent(in) :: string
logical, intent(inout) :: res

public subroutine do_matching_including_no_literal_opts(automaton, string, from, to)

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.

Arguments

Type IntentOptional Attributes Name
type(automaton_t), intent(inout) :: automaton
character(len=*), intent(in) :: string
integer, intent(inout) :: from
integer, intent(inout) :: to