[ 
https://bro-tracker.atlassian.net/browse/BIT-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622#comment-14622
 ] 

Seth Hall commented on BIT-758:
-------------------------------

Oh no, I'm ridiculous.  You can't because that would grab that character.

> New function split_esc
> ----------------------
>
>                 Key: BIT-758
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-758
>             Project: Bro Issue Tracker
>          Issue Type: New Feature
>          Components: Bro
>    Affects Versions: git/master
>            Reporter: Matthias Vallentin
>
> In the topic branch {{topic/matthias/split-escaped}}, I added new 
> functionality to split strings that may contain an escaped split expression. 
> E.g., now it would be possible to split strings of the form
> {noformat}
> a#b\#c#d
> {noformat}
> into {{[b\#c, d|a,]}}. This would otherwise not be possible, because one 
> cannot perform a lookahead with Bro's regular expressions.
> I implemented this function as an utility function at the scripting layer, 
> rather than adding a new BiF. Ideally, we'd enhance {{split_n}} with this 
> ability and then propagate the changes through the respective {{split*}} 
> functions. But before this happens, it makes probably more sense to address 
> BIT-757 first.



--
This message was sent by Atlassian JIRA
(v6.2-OD-01#6204)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to