Menu

#425 Regular Expressions in Hash-Values not marked correct

v0.6.x
closed
nobody
Outline (28)
5
2016-05-15
2007-07-27
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    Screenshot in Editor

     
  • Oliver Trosien

    Oliver Trosien - 2016-05-15
    • status: open --> closed
     
  • Oliver Trosien

    Oliver Trosien - 2016-05-15

    Closed. Tried your code sample on 0.7.0 and it looks good.

     

Log in to post a comment.