mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 20:03:29 +04:00
90348b889f
Snippet text elements can contain escape sequences that must be treated properly. Furthermore snippets must always escape certain characters (like `}` or `\`). The function has been updated to account for that. `text` is now also included with `anything` to match the grammar and can also match empty text. To avoid infinite loops the `non-empty` combinator has been added which is automatically used in the `one_or_more` and `zero_or more` combinator where the problemn would occur. |
||
---|---|---|
.. | ||
lib.rs |