components/prism-bash.min.js


Log

Author Commit Date CI Message
Golmote 12c0b20a 2018-03-08T22:19:01 Decouple minus sign from number pattern in most languages. Close #1110
Golmote 63fc2152 2018-03-03T22:45:25 Bash: Add support for quoted command substitution. Fix #1287
Golmote 20111c46 2018-03-01T23:26:26 Run gulp
Golmote d28d178b 2017-10-22T14:17:29 Bash: Regexp optimisation and simplification
Golmote 65cbaa95 2017-05-08T13:27:57 Run gulp after #1107
Adam Eivy babdf740 2016-06-08T22:29:12 adding `npm` to common function list
Andreas Rohner 964450e1 2016-04-30T13:35:01 Apply the new greedy flag to a few languages This patch applies the new greedy flag to a few languages and adds the corresponding test cases.
Andreas Rohner ab65be27 2016-02-12T21:32:19 Fix catastrophic backtracking regex issues
Andreas Rohner c628ce24 2015-10-06T17:35:08 Support for command substitution for the Bash language Command substitution is a very important part of the Bash language. Every non trivial script uses it in one way or another. This patch adds support for it.
Andreas Rohner 256c3e12 2015-10-05T23:00:25 Fix regression in Bash strings In a recent patch the regex for single-quoted and double-quoted strings of the Bash language was split into two separate regexes to prevent the highlighting of variables inside of single-quoted strings. This causes a bug whenever a double-quoted string apears inside a single-quoted string, because the double-quoted string is matched first. '"foo"' The same problem exists with the newly introduced Here-Documents. This patch fixes the problem by matching Here-Documents first and merging the regexes for single-quoted and double-quoted strings again. This patch also adds testcases for this, to prevent future regressions.
Andreas Rohner 9acaaa15 2015-10-02T14:54:17 Remove Clike dependency from Bash The Bash language is actually very different from Clike. Only 'boolean', 'operator' and 'punctuation' are shared between them. 'operator' and 'punctuation' should be changed in the future, because Bash actually has slightly different operators. Since they share almost nothing, it makes sense to remove the dependency. This patch copies 'boolean', 'operator' and 'punctuation' from Clike, but doesn't change them. This patch also fixes a typo and adds the missing built-in keyword `let`. `let` is not in the POSIX-standard, but Bash and some other shells support it.
Andreas Rohner 71bf8e9a 2015-10-01T13:22:42 Add support for Here-Documents for the Bash language This patch adds support for Here-Documents for the Bash language. A Here-Document should be highlighted as a multiline string and looks like this: cat << EOF foo bar EOF
Golmote 903b8a42 2015-07-12T08:11:33 Bash: removed duplicates in keywords + removed unneeded parentheses
Golmote 27009818 2015-07-12T07:59:33 Bash: simplify comment regex
Golmote 551cebc4 2015-03-13T07:57:30 Bash: add a bunch of well-known functions to highlight
Golmote aa2beab7 2015-03-13T07:36:59 Bash: prevent highlighting of numbers inside filenames. Fix #547
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Ben Briggs 7cfd29a9 2014-05-26T11:20:55 Rebuild minified files.
Lea Verou 36471491 2014-04-21T13:36:32 Updated minified files
Andreas Rohner ab3aea56 2013-03-16T18:36:27 Add Bash shell script highlighting support