Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Org Dblocks :not-regexp option #481

Closed
swflint opened this issue Nov 16, 2024 · 2 comments
Closed

[Feature Request] Org Dblocks :not-regexp option #481

swflint opened this issue Nov 16, 2024 · 2 comments

Comments

@swflint
Copy link

swflint commented Nov 16, 2024

Would it be possible to include a :not-regexp option in org dblocks? With a semantic of something like:

  • If both :regexp and :not-regexp are provided, notes which pass the following test (and (string-match-p regexp filename) (not (string-match-p not-regexp filename)))
  • If only :regexp, continue as normal
  • If only :not-regexp, show links to notes which do not match :not-regexp (i.e., (not (string-match-p not-regexp filename)))

This is inspired by https://mastodon.online/@johnrakestraw/113495071981398889

@swflint
Copy link
Author

swflint commented Nov 17, 2024

Closing, in favor of existing #421.

@swflint swflint closed this as completed Nov 17, 2024
@protesilaos
Copy link
Owner

protesilaos commented Nov 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants