-
Notifications
You must be signed in to change notification settings - Fork 20
More strict regex #75
Copy link
Copy link
Open
Description
The plugin breaks when entering text with multiple plusses. For example, the openssl tool will create lines like:
...................................................................................+++++
We can
fold.txt
improve the regex:
- Should only start with a "+"
- Should be exactly be 4 plusses.
- Newline required after the 4 plusses.
Was toying with something like:
'^+{4}[^+].|(?=.++++$)
But it breaks also. Not sure to part after the pipe (not sure what a "line" is for dokuwiki).
Example file included.
Note: Strict settings can potentially break if users did not exactly followed the syntax.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels