|
ab65be27
|
2016-02-12T21:32:19
|
|
Fix catastrophic backtracking regex issues
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
903b8a42
|
2015-07-12T08:11:33
|
|
Bash: removed duplicates in keywords + removed unneeded parentheses
|
|
27009818
|
2015-07-12T07:59:33
|
|
Bash: simplify comment regex
|
|
551cebc4
|
2015-03-13T07:57:30
|
|
Bash: add a bunch of well-known functions to highlight
|
|
aa2beab7
|
2015-03-13T07:36:59
|
|
Bash: prevent highlighting of numbers inside filenames. Fix #547
|
|
b1fd5bdc
|
2015-03-10T08:27:53
|
|
Removed unused global flag in all grammars
|
|
7cfd29a9
|
2014-05-26T11:20:55
|
|
Rebuild minified files.
|
|
36471491
|
2014-04-21T13:36:32
|
|
Updated minified files
|
|
ab3aea56
|
2013-03-16T18:36:27
|
|
Add Bash shell script highlighting support
|