[Bro-Dev] [JIRA] (BIT-1042) Caret in regex pattern doesn't match start of line
Seth Hall (JIRA)
jira at bro-tracker.atlassian.net
Fri Nov 8 12:10:31 PST 2013
[ https://bro-tracker.atlassian.net/browse/BIT-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Seth Hall updated BIT-1042:
---------------------------
Status: Closed (was: Reopened)
Closing this ticket as there is not really any action resulting from it.
> Caret in regex pattern doesn't match start of line
> --------------------------------------------------
>
> Key: BIT-1042
> URL: https://bro-tracker.atlassian.net/browse/BIT-1042
> Project: Bro Issue Tracker
> Issue Type: Problem
> Components: Bro
> Affects Versions: 2.1
> Environment: Ubuntu 12.04 and 13.04. Dependencies from apt-get ubuntu repos only.
> Reporter: Brian Little
> Labels: pattern, regex
> Attachments: caret.bro
>
>
> print split_all("some string", /^t/);
> I would expect it to not match ^t, but it matches any t in the string.
> output:
> {
> [1] = some s,
> [3] = ring,
> [2] = t
> }
> expected:
> {
> [1] = some string
> }
> tested on bro 2.1 and github master 2.1-824
--
This message was sent by Atlassian JIRA
(v6.2-OD-01#6204)
More information about the bro-dev
mailing list