NON_GREEDY
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
Tells the rule to match in a non greedy manner if possible.
So for example <sentence width=“2” data=“A” /> will match a sentence of width 2 (so a pair of sentences) which contains “A”. However if non_greedy=“1” is added to that then it will return the single sentence where applicable.
Applies to
(*) NB for skip this may be set using “?” in the skip count as described for that rule
Values
- “1”
- “0”