You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by justinleet <gi...@git.apache.org> on 2017/04/21 17:15:42 UTC

[GitHub] incubator-metron issue #542: METRON-873: Stellar string literals do not supp...

Github user justinleet commented on the issue:

    https://github.com/apache/incubator-metron/pull/542
  
    What if I want to put a backslash character in my string?  e.g. I want to produce 'some \ string'.
    
    I don't think this worked before, but it's particularly relevant because now we're doing stuff with backslash.  In particular, I don't think this worked before because (and correct me if I'm wrong)
    
    ```
    fragment SCHAR:  ~['"\\\r\n];
    ```
    This says that strings are NOT:
    * Single Quote
    * Double Quote
    * Backslash
    * Carriage Return
    * Newline
    
    Even escaping won't help this, because the backslash is outright disallowed in strings.  Is there a reason it's not allowe?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---