60b4aa6b75
Support interface and trait in PHP. Support space between function name and opening parenthesis in PHP and JavaScript. Fixes at least #1919 and #2604. About the JavaScript regex: Current: function(\s+[A-Za-z_]?\w*\([^\)\(]*\)|\([^\)\(]*\)) There are 2 parts, for named and anonymous functions. Note there is some duplication, let's simplify it: function(\s+[A-Za-z_]?\w*)?\([^\)\(]*\) The first character of function name is not optional (of course when the function is named), let's fix it: function(\s+[A-Za-z_]\w*)?\([^\)\(]*\) Finally let's support the possible spaces before opening parenthesis, for both named and anonymous functions: function(\s+[A-Za-z_]\w*)?\s*\([^\)\(]*\) Fixes #1919, fixes #2604, fixes #1667, fixes #2962 closes #2523, closes #2621 |
||
---|---|---|
.. | ||
Test/FunctionList | ||
bin | ||
gcc | ||
installer | ||
misc/chameleon | ||
scintilla.original.forUpdating | ||
src | ||
visual.net |