PolicyRequirementRule attribute "valve"

Tom Poage tfpoage at ucdavis.edu
Thu Sep 12 13:53:15 EDT 2013


On Sep 12, 2013, at 10:23 AM, Tom Zeller <tzeller at dragonacea.biz> wrote:
> I think you want regex=".+"

Right. Sometimes I reflexively fall back to old school, cf. "..*". :-)

So a pattern used by Matcher.matches() is indeed implicitly anchored so, as pointed out, "." matches a string containing only a single character, and ".+" does the trick.

Sometimes regular expressions aren't so regular. ;-)

Thanks.
Tom.



More information about the users mailing list