-
Notifications
You must be signed in to change notification settings - Fork 32
Feature: Custom escape mappings
Josh Soref edited this page Feb 25, 2024
·
2 revisions
Right now, \\[nrt]
are effectively mapped to space, and some patterns are mapped to '
.
-
The C escaped whitespace frequently trip on Windows paths. It would be possible to move them out of the engine entirely and have projects use
patterns.txt
instead as needed. Possibly aided by something to automatically suggest it. -
Something which can automatically decide html escapes would handle most of the rest. I'm not sure I like this, since I'm not sure I'd always want to run it.
-
It'd be possible to define a special file with something like:
/"/ => "
/'/ => '
I'm not sure I like this at all as the parsing will be painful.
I could use JSON, but, I don't think that really improves things.