components/prism-pure.js


Log

Author Commit Date CI Message
Michael Schmidt fd20dbe4 2021-05-01T14:53:38 ESLint: Added spacing rules (#2862)
Michael Schmidt 772d42be 2021-03-26T13:16:16 Added ESLint with minimal config (#2831)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
Michael Schmidt 48fac3b2 2020-06-12T15:58:46 Added a test for identifier support across all languages (#2371)
Michael Schmidt c9a32674 2019-03-05T22:06:33 Fixed dependencies of Pug and Pure (#1759) This removes dependencies of Pug and Pure to languages which do not exist (yet).
Michael Schmidt e894fc89 2019-01-23T03:05:58 Inline regex source with gulp (#1537) Let gulp inline the source of inline regular expressions without flags in minified files. This means that gulp will replace `/regex/.source` with `'regex'`. ## Motivation Most IDEs support syntax highlighting and checking of JS inline regular expressions. This makes them easier to work with and less error-prone than having a string hold the expression. Inline regexes are also usually shorter than their string counterparts because you don't have to escape backslashes. There are also some linters (e.g. ESLint) for JS regular expression which (of course) won't work on strings. This lets you enjoy the advantages of inline regexes without worrying about the additional overhead of compiling another regular expression on the client side.
Golmote 92318b07 2017-10-22T15:15:56 Pure: Make inline-lang greedy
Valtteri Laitinen 8aa2cc4a 2017-05-08T13:56:50 Replace [\w\W] with [\s\S] and [0-9] with \d in regexes (#1107) * Replace [\w\W] with [^] and [0-9] with \d in regexes * Replace [\s\S] with [^] * Replace [^] with [\s\S]
Golmote 7549eccb 2017-02-08T23:23:24 Add missing greedy config in APL, AutoIt, Dart, Elixir, Erlang, F#, Go, Haxe, Icon, Inform7, J, Makefile, Mel, Nim, Nix, NSIS, OCaml, Oz, Pari/GP, Parser, Pascal, Perl, Prolog, Pure, Qore, R, Rip, Ruby, Rust, SAS, Scheme, SQL, Stylus, Tcl and Verilog
Golmote dac6e7c9 2015-09-08T19:56:37 Pure: Renamed foreign-lang to inline-lang + fixed inline-lang replacement regexp
Golmote f0684e6c 2015-07-06T19:31:43 Add support for Pure