[ 
https://issues.apache.org/jira/browse/METRON-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Leet reassigned METRON-1920:
-----------------------------------

    Assignee: Justin Leet

> 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
>            Assignee: Justin Leet
>            Priority: Major
>
> 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)

Reply via email to