Skip to content
Browse files

More loosely match expression function names

  • Loading branch information...
1 parent 7560130 commit 6cfa7597e9f001a95234f7fa8f734cd361ebcd9c @sorvell sorvell committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/standard/effectBuilder.html
View
2 src/standard/effectBuilder.html
@@ -169,7 +169,7 @@
// method expressions are of the form: `name([arg1, arg2, .... argn])`
_parseMethod: function(expression) {
// tries to match valid javascript property names
- var m = expression.match(/([a-zA-Z_$][0-9a-zA-Z_$]*)\((.*)\)/);
+ var m = expression.match(/([^\s]+)\((.*)\)/);
if (m) {
var sig = { method: m[1], static: true };
if (m[2].trim()) {

0 comments on commit 6cfa759

Please sign in to comment.
Something went wrong with that request. Please try again.