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)