| 86 | }; |
| 87 | |
| 88 | boost::regex attributeRegex() |
| 89 | { |
| 90 | // Extract ATTR_NAME from the pattern <attr:ATTR_NAME> |
| 91 | // Only match if the angle brackets haven't been escaped with a backslash |
| 92 | static boost::regex r( "(?<!\\\\)<attr:([^>]*[^\\\\>])>" ); |
| 93 | return r; |
| 94 | } |
| 95 | |
| 96 | bool stringFindSubstitutions( const std::string &target, std::unordered_set< InternedString > &requestedAttributes ) |
| 97 | { |
no outgoing calls
no test coverage detected