Hello,
there seems to be a problem with regular expressions within hashes: The editor doesn´t recognize those expressions.
Example:
$hashthing = {
# some keys => some values,
regexp1 => m{myregex}xms,
regexp2 => qr{\A (?: a |b |c) \z}xms,
};
#some code
$a_or_b = $condition
? $a
: $b;
With this code (I know it´s weird code ...) the value of regexp1 isn´t marked as regular expression (or as Literal1).
The second regexp isn´t marked, too. but including the questionmark inside of it until the next questionmark is marked as literal1, too.
I am using EPIC 0.6.3, Eclipse 3.2.2 and Java 1.5.0_10
Screenshot in Editor
Closed. Tried your code sample on 0.7.0 and it looks good.