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