I know matching parentheses formula is [\ [(] [^ \]] + [\))]
Match the variable name is [a zA - Z] \ \ w *
A formula such as "if (x==2), how to match the x?
CodePudding user response:
\ [[^ a - zA - Z_] *? ([a zA - Z_] [a - zA - Z_0-9] *?)CodePudding user response: