I'm looking for a grep for JavaScript function names including parenthesis.
Example: myfunction()
I need it to ignore jQuery events like .on()
, .click()
, .width()
as well. So basically "get word before parenthesis and parenthesis but not if there is a .
before the word". I tried different stuff like ([\l\u]())
but i can't get my head around. Any Ideas?