fix "{$this->foo->bar('foobar')}"
This commit is contained in:
parent
32e3ad5966
commit
617cd3202a
1 changed files with 1 additions and 1 deletions
|
|
@ -717,7 +717,7 @@ PHP.Lexer = function( src, ini ) {
|
|||
|
||||
var re;
|
||||
if ( curlyOpen > 0) {
|
||||
re = /^([^\\\$"{}\]\)\->]|\\.)+/g;
|
||||
re = /^([^\\\$"{}\]\(\)\->]|\\.)+/g;
|
||||
} else {
|
||||
re = /^([^\\\$"{]|\\.|{[^\$]|\$(?=[^a-zA-Z_\x7f-\uffff]))+/g;;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue