Your message dated Sun, 31 Jan 2016 16:43:39 +0100
with message-id <[email protected]>
has caused the   report #488118,
regarding joe: php syntax highlighting of variables fails in string constants
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
488118: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488118
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
On Thu, Jun 26, 2008 at 10:39:13PM +0200, Josip Rodin wrote:
> On Thu, Jun 26, 2008 at 04:34:56PM +0200, Daniel Migowski wrote:
> > Package: joe
> > Version: 3.5-1.1
> > Severity: normal
> > 
> > Syntax Highlighting in php mode fails slightly within String constants for
> > variables containing numbers. They are highlighted correctly our of string
> > constants, but within they are just rendered up to the containing number.
> 
> Right, the :var_indqstring Var in php.jsf only accepts a-zA-Z_.
> http://www.php.net/language.variables indicates that the regular expression
> for variable names is [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
> so we need to add a bit more code in order to match 0-9 as part of variable
> names (but not the first character)...

In joe 4.1 php.jsf defines this var_indqstring as "\i" (where once it had said
a-zA-Z_). Not sure what's the right solution now?

The code to reproduce is trivial:

<?

$var1d = "$var2d";
              ~~
              these characters are not recognized as part of the variable name

(And, yes, obviously the easy workaround is to use the . for PHP string
concatenation, but still.)

-- 
     2. That which causes joy or happiness.

--- End Message ---

Reply via email to