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 Jul 8, 2018
1 parent a9704e5 commit bbe6cab
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 bbe6cab

Please sign in to comment.