
30 Oct
2007
30 Oct
'07
9:59 p.m.
Hello, I'm a new member to the mailing list. BTW, thanks to everyone who contributes to boost. It's a fantastic software. I am having a problem with building an expression object. The line in question reads 'boost::regex expression(pattern, options);', where I'm using the boost::regex::extended option, and the pattern looks like this: "^([0-7]\\..*|8\\.0(\\.[0-3](\\.[0-3])?)?)[^.0-9]*?$". I fired up a ruby interpreter, and it handled the regex fine (using "8.0.0.1 (en-US)" as a positive, and "9.0.0.1 (en-US)" as a negative). Can anybody tell me what is wrong with this regex, or confirm that there may be a bug in the library? thanks, brian