Adding negated searches
This commit is contained in:
parent
bdaa22c68c
commit
291139426d
|
@ -247,6 +247,8 @@
|
|||
(member author (author->list (package-ref info 'author)))]
|
||||
[":no-tag:"
|
||||
(empty? (package-ref info 'tags))]
|
||||
[(regexp #rx"^!(.*?)$" (list _ sub))
|
||||
(not (search-term-eval pkg-name info sub))]
|
||||
[_
|
||||
(define term-rx (regexp-quote term))
|
||||
(for/or ([tag (list* pkg-name (package-ref info 'tags))])
|
||||
|
|
Loading…
Reference in New Issue
Block a user