AntPathStringMatcher

Tests whether or not a string matches against a pattern via a {@link Pattern}. <p>The pattern may contain special characters: '*' means zero or more characters; '?' means one and only one character; '{' and '}' indicate a URI template pattern. For example <tt>/users/{user}</tt>.

Constructors

this
this(string pattern)
Undocumented in source.
this
this(string pattern, bool caseSensitive)
Undocumented in source.

Members

Functions

matchStrings
bool matchStrings(string str, Map!(string, string) uriTemplateVariables)

Main entry point. @return {@code true} if the string matches against the pattern, or {@code false} otherwise.

Static functions

quote
string quote(string s)

Returns a literal pattern <code>string</code> for the specified <code>string</code>.

Meta