Skip to content

Commit

Permalink
fix(nvue): optimize functionCallRE (question/170516)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurj26 committed May 26, 2023
1 parent 1bd1437 commit 310ab06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2401,7 +2401,7 @@ var acorn = require('acorn'); // $flow-disable-line
var walk = require('acorn/dist/walk'); // $flow-disable-line
var escodegen = require('escodegen');

var functionCallRE = /^\s*([A-Za-z_$0-9\['\."\]]+)*\s*\(\s*(([A-Za-z_$0-9\['\."\]]+)?(\s*,\s*([A-Za-z_$0-9\['\."\]]+))*)\s*\)$/;
var functionCallRE = /(\w+)\((.*)\)/;

function nodeToBinding (node) {
switch (node.type) {
Expand Down

0 comments on commit 310ab06

Please sign in to comment.