MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / findStrings

Function findStrings

src/OpenFOAM/primitives/strings/lists/stringListOps.H:51–58  ·  view source on GitHub ↗

- Return true if string matches one of the regular expressions

Source from the content-addressed store, hash-verified

49
50 //- Return true if string matches one of the regular expressions
51 inline bool findStrings
52 (
53 const wordReListMatcher& matcher,
54 const std::string& str
55 )
56 {
57 return matcher.match(str);
58 }
59
60 // multi-string matches:
61

Callers 15

mainFunction · 0.85
mainFunction · 0.85
getSelectedPatchesFunction · 0.85
mainFunction · 0.85
correctFunction · 0.85
mainFunction · 0.85
getSelectedPatchesFunction · 0.85
findMatchesFunction · 0.85
objectsFunction · 0.85
objectsFunction · 0.85
objectsFunction · 0.85

Calls 1

matchMethod · 0.45

Tested by 1

mainFunction · 0.68