diff options
author | pabs@pablotron.org <pabs@pablotron.org> | 2014-12-18 02:17:19 -0500 |
---|---|---|
committer | pabs@pablotron.org <pabs@pablotron.org> | 2014-12-18 02:17:19 -0500 |
commit | 98f8182d93bf037cbd2257c80dc62fc47d4bc00b (patch) | |
tree | b83deed3c63d423431cd42f1f98516b38dae3fd1 | |
parent | 0b64486ad55e00fd8483778c08c7c07904d38d51 (diff) | |
download | luigi-template-98f8182d93bf037cbd2257c80dc62fc47d4bc00b.tar.bz2 luigi-template-98f8182d93bf037cbd2257c80dc62fc47d4bc00b.zip |
remove old regexes
-rw-r--r-- | luigi-template.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/luigi-template.js b/luigi-template.js index 721b9ac..3214143 100644 --- a/luigi-template.js +++ b/luigi-template.js @@ -200,10 +200,7 @@ LuigiTemplate = (function() { actions: /%\{\s*([^\s\|\}]+)\s*((\s*\|(\s*[^\s\|\}]+)+)*)\s*\}|([^%]|%)/g, filter: /(\S+)((\s*\S+)*)\s*/g, delim_filters: /\s*\|\s*/, - delim_args: /\s+/, - - run: /%\{\s*(\w+)((\s*\|\s*\w+\s*(\([\w\s,-]+\))?)*)\}/g, - old_filter: /(\w+)\s*(\(([\w\s,-]+)\))?/ + delim_args: /\s+/ }; function parse_template(s) { |