Wildcard matching

Wildcard matching

Wildcard may include “*” and “?” wildcard characters. The “*” wildcard character represents any number of characters or an empty string. The “?” wildcard character represents a single character.

To match “*” and “?” characters they need to be escaped. For example, “a\*b” will match with “a*b”. Backslash needs to be always escaped, so that “a\\b” wildcard matches with “a\b”.

Resource matching

Resources match by both path and request. For example, “*.php” will match with “/dir/file.php”, but will not match with “/dir/file.php?action=start”. On the other hand, “*.php\?*” will match with “/dir/file.php?action=start” but will not match with “/dir/file.php”.

Categories: Bundle, HTML Checker, Link Checker, Manual, Site Inspector, Spell Checker

Leave a Reply