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;
|
var re;
|
||||||
if ( curlyOpen > 0) {
|
if ( curlyOpen > 0) {
|
||||||
re = /^([^\\\$"{}\]\)\->]|\\.)+/g;
|
re = /^([^\\\$"{}\]\(\)\->]|\\.)+/g;
|
||||||
} else {
|
} else {
|
||||||
re = /^([^\\\$"{]|\\.|{[^\$]|\$(?=[^a-zA-Z_\x7f-\uffff]))+/g;;
|
re = /^([^\\\$"{]|\\.|{[^\$]|\$(?=[^a-zA-Z_\x7f-\uffff]))+/g;;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue