id summary reporter owner description type status milestone component version severity resolution keywords cc
6493 Problem in using regex to find nested tags little_bird@… John Maddock "I want to use regex to find all `""""` like tags in a text file, and tags may recursive. So I made an example, using patterns
`<(?NPC)>((?<\k>)|\k>(?<-Nested>)|.*?)*\k>`
to search string
`abc12345123`
Well, it works well in Expresso(a cool tool in making and testing regular expressions, can be found at `http://www.ultrapico.com/`). But by using boost::regex_search, it returns the whole string. It seems that the 3rd `""""` matches `"".*?""` but `""\k>""`." Bugs closed To Be Determined regex Boost 1.48.0 Problem invalid regex