chore: make all the regexes static const
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -12,6 +12,8 @@ class RegexpMatcher : public IPathMatcher {
|
||||
m_onlyFilenamePart = !regexp.contains('/');
|
||||
}
|
||||
|
||||
RegexpMatcher(const QRegularExpression& regex) : m_regexp(regex) { m_onlyFilenamePart = !regex.pattern().contains('/'); }
|
||||
|
||||
RegexpMatcher& caseSensitive(bool cs = true)
|
||||
{
|
||||
if (cs) {
|
||||
|
||||
Reference in New Issue
Block a user