Skip to content

Commit

Permalink
Merge pull request #31 from pranavwani/patch-1
Browse files Browse the repository at this point in the history
Add support to use $
  • Loading branch information
curran authored Sep 15, 2020
2 parents ce27891 + 816d17c commit 3587af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function parse(value) {
const parseString = (() => {
// This regular expression detects instances of the
// template parameter syntax such as {{foo}} or {{foo:someDefault}}.
const regex = /{{(\w|:|[\s-+.,@/\//()?=*_])+}}/g;
const regex = /{{(\w|:|[\s-+.,@/\//()?=*_$])+}}/g;

return str => {
let parameters = [];
Expand Down

0 comments on commit 3587af2

Please sign in to comment.