-
Feb 16th, 2005, 10:19 AM
#1
RegExpBasedFilterInvocationDefinitionMap & Wildcards
In the method public ConfigAttributeDefinition lookupAttributes(String url), Acegi looks the ConfigAttributeDefinition using Perl5Matcher:
boolean matched = matcher.matches(url, entryHolder.getCompiledPattern());
But the method 'matches' in Perl5Matcher 'determines if a string exactly matches a given pattern', so no wildcards can be used.
Shouldn't be better to use the method 'contains' instead?
Anyway, how can be wildcards defined?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules