Skip to content

Commit

Permalink
Fix the regexp to match *.org and *.scrbl files
Browse files Browse the repository at this point in the history
  • Loading branch information
BostX committed Jun 13, 2022
1 parent a41017b commit ecc3e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,5 @@ directory to search in."
(filter filter-fun all-files)))
(lambda (regex)
"Return a predicate function."
(lambda (f) (regexp-match (format ".*(~a).*org" regex) f))))
(lambda (f) (regexp-match (format ".*(~a).*\\.(org|scrbl)" regex) f))))
(matching-files)))

0 comments on commit ecc3e64

Please sign in to comment.