Pattern allows you to use regular expressions to determine access.
@@Pattern("printers.edit") public static Result editPrinter() { return ok(accessOk.render()); }
@@Pattern("printers.detonate") public static Result detonatePrinter() { return ok(accessOk.render()); }
@@Pattern(value = "(.)*\\.edit", patternType = PatternType.REGEX) public static Result editPrinterRegex() { return ok(accessOk.render()); }