Re: case sensitivity in cf3 regexes

2010-02-23 Thread NWatson
For posterity there is a way to do this. I was referred to the pcrepattern man page in a separate thread.Here is a working example. [nwat...@unxxhd01 inputs]$ cat bar.cf ## body common control { bundlesequence => { "test" }; } bundle agent test { classes:

Re: case sensitivity in cf3 regexes

2010-02-13 Thread Neil Watson
On Sat, Feb 13, 2010 at 02:17:47AM +0100, Nakarin Phooripoom wrote: >Could we use [A-Z]? for instance; We could but it is not very flexible. Suppose you want to match 'OpenSSL-4.8' but you don't know what will be capitalized. -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca __

Re: case sensitivity in cf3 regexes

2010-02-12 Thread Nakarin Phooripoom
Could we use [A-Z]? for instance; body common control { bundlesequence => { case("Hello"), case("hello") }; } bundle agent case(string) { classes: "invalid" expression => regcmp("^[A-Z].*","$(string)"); reports: !invalid:: "Not start with a capit

case sensitivity in cf3 regexes

2010-02-12 Thread NWatson
When using regular expression functions like regcmp, how can the match be made case insensitive (e.g. m/foobar/i in perl)? Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain propri