[Bro-Dev] [JIRA] (BIT-1042) Caret in regex pattern doesn't match start of line

Brian Little (JIRA) jira at bro-tracker.atlassian.net
Thu Jul 25 02:05:04 PDT 2013

Brian Little created BIT-1042:

             Summary: 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: Bug
          Components: Bro
    Affects Versions: 2.1
         Environment: Ubuntu 12.04 and 13.04. Dependencies from apt-get ubuntu repos only.
            Reporter: Brian Little
            Priority: Normal
         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.

[1] = some s,
[3] = ring,
[2] = t

[1] = some string

tested on bro 2.1 and github master 2.1-824

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://bro-tracker.atlassian.net/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the bro-dev mailing list