id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2518,RegEx with $ anchor not Perl-compatible,Chad Martin ,John Maddock,"If I try to match a string like ""WORD1 WORD2"" with boost::regex lastWordCapture(""(\\w+)$""); in order to capture WORD2, the regex_match fails. If I modify the regex to "".*?(\\w+)$"", it works fine. The following Perl code captures and prints WORD2 as expected. $string = ""WORD1 WORD2""; if ($string =~ /(\w+)$/){ print ""$1\n""; }",Bugs,closed,Boost 1.38.0,regex,Boost 1.37.0,Problem,invalid,,