Skip to content

Commit

Permalink
sq: attempt on explaining -~
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszachy committed Jun 5, 2024
1 parent 1194544 commit 9856cba
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,12 @@ not need such intensive escaping::
__ https://docs.python.org/3/library/re.html#re.sub

Remove parent value only if it matches regular expression is done
using the ``-~`` suffix. If value matches any of provided
`regular expressions`__ it is removed, these regular expressions
can be just a single item or a list of strings::
using the ``-~`` suffix. If value matches any of provided
`regular expressions`__ it is removed. In the case of parent value
being a list the item is removed from this list. If the parent value
is a string value is set to the empty string. If parent value is
a dictionary, the key is removed. These regular expressions can
be just a single item or a list of strings::

description-~: '.*'
require-~:
Expand Down

0 comments on commit 9856cba

Please sign in to comment.