This package currently matches a given user-agent with robots.txt exactly. This PR allows developers to use partial matches or exact matches (exactMatchesOnly) and also to consider '*' user-agent when checking if a path is denied (ignoreGlobalGroup).
The original behaviour remains unchanged by default, existing tests pass and additional tests added for partial matches and global groups.
This package currently matches a given user-agent with robots.txt exactly. This PR allows developers to use partial matches or exact matches (
exactMatchesOnly
) and also to consider '*' user-agent when checking if a path is denied (ignoreGlobalGroup
).The original behaviour remains unchanged by default, existing tests pass and additional tests added for partial matches and global groups.