invoke

operator fun invoke(antPattern: String): AntRegexPathMatcher(source)

Parses an Ant-style path pattern into regular expressions and associated metadata.

This does not support regex nested within the provided pattern.

Return

An AntRegexPathMatcher object that can be used to match paths against the compiled regular expression pattern.

Parameters

antPattern

The Ant-style path pattern to compile.