matches
docblock
matches(pattern::Union{String, Regex}) -> FunctionCreate a selector that matches symbols against a regex pattern.
Example
# Match functions starting with "get" or "set"
selector = matches(r"^(get|set)")
selector(:get_value) # true
selector(:set_value) # true
selector(:update) # false