I'm trying with grep to find Twig variables that do not respect naming conventions, excluding object properties. So I would like to match camelCase words, that doesn't start by "."
does.notMatch
doesMatch
some words doesMatch
I've tried this :
^\w+[A-Z]\w+
But it matches only with full lines.