Commit Graph

8 Commits

Author SHA1 Message Date
Michael Schmidt 11c54624ee
Use terser (#3407) 2022-03-22 22:32:52 +01:00
Michael Schmidt e2630d890e
ESLint: Added `regexp/sort-alternatives` rule (#3093) 2021-09-26 11:52:18 +02:00
Michael Schmidt e8d3b50330
ESLint: Added `regexp/strict` rule (#2944) 2021-06-27 14:56:07 +02:00
Michael Schmidt 48fac3b26c
Added a test for identifier support across all languages (#2371) 2020-06-12 15:58:46 +02:00
Michael Schmidt 3ba786cd79
Tests: `lookbehind` test for patterns (#1890)
This adds a test which whether `lookbehind` (if set to `true`) is necessary for a given pattern.
2019-06-02 15:08:24 +02:00
Michael Schmidt 3e00bb9c41
Rebuilt Prism (#1794)
This is a rebuilt of Prism to update minified files.
2019-03-07 15:22:30 +01:00
Michael Schmidt d33d259c55 Ignore duplicates in insertBefore (#1628)
Fix #1525 and implement option number 2.
2018-12-01 18:02:57 -05:00
Guido Flohr e063992b81 Support for Template Toolkit 2 (#1418)
* support for Template Toolkit 2

* optimized quoted string regexes

* optimized double-quoted string regex

* fully qualified tt2 plug-in names don't work

Also use \w.

* do not use empty character class

See #1107.

* put keyword tests in alphabetical order

* ordered tt2 keywords alphabetically

* removed redundant operator rule for tt2

* removed possibly existing old rules before inserti

* indentation

* allow backslash in front of lf in tt2 strings

* indentation

* avoid backtracking

* escape xml special characters

* indent with tab instead of spaces

* greedy is no longer needed for variables

Also use \w instead of explicit character class.

* re-generated with gulp
2018-05-10 11:07:34 +02:00