Skip to content

Add filter modifiers #1006

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

Closed
3 tasks done
pokey opened this issue Oct 4, 2022 · 0 comments · Fixed by #1008
Closed
3 tasks done

Add filter modifiers #1006

pokey opened this issue Oct 4, 2022 · 0 comments · Fixed by #1008
Assignees
Labels
enhancement New feature or request

Comments

@pokey
Copy link
Member

pokey commented Oct 4, 2022

Returns [] if input passes filter, otherwise [inputTarget]

  • "empty": keepEmptyFilter zero length or whitespace content only
  • "content" keepContentFilter nonzero length and nonwhitespace content (=!keepEmptyFilter)
  • Don't use "whitespace"

Can be used for eg "take content every line"

Other notes

Filter viewpoint

  • is it nonzero length?
  • does it have visible characters selected?

empty
empty and not adjacent to visible characters
empty and adjacent to visible characters
nonempty
nonempty and only containing whitespace
nonempty and containing visible chars

@pokey pokey added the enhancement New feature or request label Oct 4, 2022
@pokey pokey changed the title Add "empty" modifier Add filter modifiers Oct 4, 2022
@AndreasArvidsson AndreasArvidsson mentioned this issue Oct 4, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants