Related parenthesis doesn't have the same color, for example in JS files. Sorry if this has already been reported but I didn't find anything about it.

Open a javascript file and see that some function opening and closing parenthesis doesn't have the same color
Commit hash: a02ae3c (v1.3.3 installed from Brew)
OS: Mac OS Sierra 10.12.3
Terminal: default
line 10 in runtime/syntax/javascript.yaml is causing the problem as it is catching the bracket in the regex.
Not sure how to cure this, as I am not very good at regex.
Try to replace regexp on line 10 with
"[A-Za-z_][A-Za-z0-9_]*[[:space:]]*"
There's a similar issue with Lua.
Matching brackets are highlighted, except if there is a string between them.

@is73 that doesn't seem to work, I'm not sure I'm proceeding properly
here is what I did :
go get -d github.com/zyedidia/micro/cmd/micro command~/go/src/github.com/zyedidia/micro/runtime/syntax/javascript.yaml according to your suggestionmake install~/go/bin/micro some/file.js You need to use make with build-all and install or install-all to build the runtime files to see the changes.
e.g
make build-all
make install
or
make install-all
does all the above with one command.
You can also use make runtime to just build the runtime (this will make sure all changes to any files in runtime will be in the new build) and then make install to build.
ok thanks ! it works !
I could make a PR but this is @is73 work so I don't want to steal any credit on this, maybe @zyedidia could just add it to its code ?
It was an accident so make some PR :)
I would also like to add the .es[5678]? extension support, so should I make two different PRs for the same file ?
You can go ahead and do both in one PR if that's easier.
I would like to solve this in my newlisp sources to view matching paren arghhh :)
(((())))
Here you go : https://github.com/zyedidia/micro/pull/868
Thanks for your help guys
However, I'm not sure how to apply this to lua files @DanielPower
Using regular expressions for syntax highlighting makes finding matching braces very hard or impossible. But we've fixed the javascript parentheses with a sort of workaround :). See #868.