You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Michael Miklavcic (JIRA)" <ji...@apache.org> on 2018/12/04 18:02:00 UTC

[jira] [Created] (METRON-1920) Backslash escaping appears to be broken in some Stellar contexts in the REPL

Michael Miklavcic created METRON-1920:
-----------------------------------------

             Summary: Backslash escaping appears to be broken in some Stellar contexts in the REPL
                 Key: METRON-1920
                 URL: https://issues.apache.org/jira/browse/METRON-1920
             Project: Metron
          Issue Type: Bug
            Reporter: Michael Miklavcic


I tried 1-7 escapes on the last SPLIT with backslash and they all failed to escape properly. Adding a 3rd trailing quote allows the expression to error out and continue the REPL without quitting.
{code:java}
[Stellar]>>> myval := 'hello,world'
hello,world
[Stellar]>>> SPLIT(myval, ';')
[hello,world]
[Stellar]>>> SPLIT(myval, ',')
[hello, world]
[Stellar]>>> SPLIT(myval, '\'')
[hello,world]
[Stellar]>>> SPLIT(myval, '\\')
>
{code}
Ran the REPL with the following command:
{code:java}
mvn exec:java \
-Dexec.mainClass="org.apache.metron.stellar.common.shell.cli.StellarShell" \
-pl metron-stellar/stellar-common
{code}



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