Merge pull request 'Add support for additional random sets' (#79) from master into release

Reviewed-on: https://git.marginalia.nu/marginalia/marginalia.nu/pulls/79
This commit is contained in:
Viktor Lofgren 2022-08-07 17:52:08 +02:00
commit 1ad1cf75c8

View File

@ -30,7 +30,7 @@ public class BrowseCommand implements SearchCommandInterface {
private final MustacheRenderer<BrowseResultSet> browseResultsRenderer;
private final BrowseResultCleaner browseResultCleaner;
private final Logger logger = LoggerFactory.getLogger(getClass());
private final Predicate<String> queryPatternPredicate = Pattern.compile("^browse:[.A-Za-z\\-0-9]+$").asPredicate();
private final Predicate<String> queryPatternPredicate = Pattern.compile("^browse:[.A-Za-z\\-0-9:]+$").asPredicate();
@Inject
public BrowseCommand(EdgeDataStoreDao edgeDataStoreDao,