MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / RegexPipelineElement

Method RegexPipelineElement

PathCopyCopy/src/PluginPipelineElements.cpp:196–206  ·  view source on GitHub ↗

Constructor. @param p_Regex Regular expression to use to find matches. @param p_Format Format of replacement string. @param p_IgnoreCase Whether to ignore case when looking for matches.

Source from the content-addressed store, hash-verified

194 // @param p_IgnoreCase Whether to ignore case when looking for matches.
195 //
196 RegexPipelineElement::RegexPipelineElement(const std::wstring& p_Regex,
197 const std::wstring& p_Format,
198 const bool p_IgnoreCase)
199 : PipelineElement(),
200 m_Regex(p_Regex),
201 m_Format(p_Format),
202 m_IgnoreCase(p_IgnoreCase),
203 m_upRegex(),
204 m_RegexTested(false)
205 {
206 }
207
208 //
209 // Modifies the given path by looking for matches using our regular

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected