- assigned_to: nobody --> kpouer
The parser for PHP seems to be incorrectly identifying
the end of this regular expression:
preg_match(
"/$pTag.*?$pTagw{10}(.*?)$pTagw+(.*?)$pTag+(.*?)$pTagw+General.*?$pTagw{3}(.*?)$pTagw/",
$file, $tMatch, 0, $beg );
(It underlines this line starting with the second 'p'
at position 10.)
The ErrorList returns:
43: unexpected token : 'pTagw'
43: expression expected
It looks like it is expecting the second '$' character
(at position 9 inside the regex) to be the end of the
regex. However, as the whole expression is inside
double quotes, $pTagW will be interpreted to something
else. (For the curious, $pTagw = '(?:\s*<.*?>\s*)'; )
I believe that the second error will clear up when the
first parsing is done correctly.
I do not at this time have an easy fix, nor am I sure
if this has been corrected in the 4.3 series. About 10
minutes of searching the plugins bugs list of open and
closed bugs did not show me anything fruitful.
My stats:
jEdit 4.2 final
PHPParser 1.2.1
ErrorList 1.4
And a host of other plugins, that I believe to be
irrelevant. Let me know if you need to know what all
plugins I have installed.