MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / group

Function group

quest/src/core/parser.cpp:52–52  ·  view source on GitHub ↗

utilities

Source from the content-addressed store, hash-verified

50
51 // utilities
52 string group(string in) { return "(?:" + in + ")"; } // groups sub-patterns to control eval order
53 string capt (string in) { return "(" + in + ")"; } // captures sub-patterns for later extraction
54 string opt (string in) { return group(in) + "?"; } // groups and makes optional a sub-pattern
55

Callers 2

optFunction · 0.85
parser.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected