Boost logo

Boost Users :

Subject: Re: [Boost-users] [Regex] Why is my RE not working?... :-)
From: Alan M. Carroll (amc_at_[hidden])
Date: 2008-12-27 23:57:10


Because the first address has parentheses *and* brackets. Your regex requires one or the other, and won't recognize both.

At 05:45 PM 12/27/2008, Adem wrote:
>Given these definitions:
> RE: " (ip=|\\(|\\[)(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})(\\]|\\)|,|;| |\n)";
> Text: "BLAH ([1.2.3.4]) [5.6.7.8] ip=100.100.200.200 BLAH2 (77.48.32.42)\n";


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net