Copyright © 2014-2020 Michael Truog
Version: 2.0.1 Nov 26 2020 15:50:55 ------------------------------------------------------------------------
Authors: Michael Truog (mjtruog at protonmail dot com).
new/2 |
Transform a service name pattern with parameters into an exact service name.The pattern input can contain consecutive * wildcard characters because they are only used for a template. |
new/4 |
Transform a service name pattern with parameters into an exact service name.The pattern input can contain consecutive * wildcard characters because they are only used for a template. |
parse/2 |
Parse a service name pattern to return parameters.. |
parse_with_suffix/2 |
Parse a service name pattern and return the common suffix.. |
pattern/1 |
Determine if a service name pattern contains wildcard characters.If not, the service name pattern would only be used with a service name that is an exact match. |
suffix/2 |
Provide the suffix of the service name or service pattern based on the service's configured prefix.. |
new(Pattern::string(), Parameters::[string()]) -> {ok, string()} | {error, parameters_ignored | parameter_missing}
new(Pattern::string(), Parameters::[string()], ParametersSelected::[pos_integer()], ParametersStrictMatching::boolean()) -> {ok, string()} | {error, parameters_ignored | parameter_missing | parameters_selected_empty | {parameters_selected_ignored, [pos_integer()]} | {parameters_selected_missing, pos_integer()}}
parse(Name::string(), Pattern::string()) -> [nonempty_string()] | error
parse_with_suffix(Name::string(), Pattern::string()) -> {[nonempty_string()], string()} | error
pattern(Pattern::string()) -> boolean()
suffix(Prefix::nonempty_string(), NameOrPattern::nonempty_string()) -> string()
Generated by EDoc