Skip to content

Commit

Permalink
Golmote's advice to allow a level of () within $() ⋅ Issue 1457
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-mm committed Feb 4, 2019
1 parent 1c2f45c commit 59a242d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-bash.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
// [1]: Command Substitution
{
pattern: /\$\([^)]+\)|`[^`]+`/,
pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
greedy: true,
inside: {
variable: /^\$\(|^`|\)$|`$/
Expand Down
2 changes: 1 addition & 1 deletion components/prism-bash.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 59a242d

Please sign in to comment.