[jira] [Created] (GROOVY-8739) groovysh can't evaluate slashy strings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (GROOVY-8739) groovysh can't evaluate slashy strings

JIRA jira@apache.org
Роман Донченко created GROOVY-8739:
--------------------------------------

             Summary: groovysh can't evaluate slashy strings
                 Key: GROOVY-8739
                 URL: https://issues.apache.org/jira/browse/GROOVY-8739
             Project: Groovy
          Issue Type: Bug
          Components: Groovysh
    Affects Versions: 2.5.1, 3.0.0-alpha-3
            Reporter: Роман Донченко


If you type in a slashy string into groovysh, it expects more input instead of evaluating it:
{code:java}
groovy:000> /abc/
groovy:001{code}
I know slashy strings can be ambiguous, but that shouldn't be an issue here, since an expression can't begin with a division operator.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)