We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ab919 commit eaf4591Copy full SHA for eaf4591
src/org/cakephp/netbeans/editor/CakePhpEditorExtender.java
@@ -150,7 +150,7 @@ public void visit(MethodInvocation node) {
150
private String prepareViewVar(String viewVarName) {
151
if(!viewVarName.isEmpty()) {
152
viewVarName = viewVarName.substring(1, viewVarName.length() - 1).trim();
153
- if(!viewVarName.matches("[A-Za-z][A-Za-z0-9]*")) {
+ if(!viewVarName.matches("[A-Za-z_][A-Za-z0-9_]*")) {
154
viewVarName = "";
155
}
156
0 commit comments