14 Jun
                
                    2005
                
            
            
                14 Jun
                
                '05
                
            
            
            
        
    
                5:04 p.m.
            
        John Maddock wrote:
The following trivial pattern:
boost::regex pat("[\\D]");
throws an "Invalid or trailing backslash" exception.
Yes, known problem, don't know how to fix it easily either
I peeked at your code. For narrow characters, you can easily merge the negated character class into the re_set.map_[256]. For wide characters, you'll need to store a list of negated character classes to re_set_long, just as you currently store a list of chars, ranges and equivalences. -- Eric Niebler Boost Consulting www.boost-consulting.com