mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 04:11:06 -05:00
Add more tests
This commit is contained in:
@@ -37,6 +37,16 @@ void RegexConfig::CreateBackwardsCompatibleRegex(bool enable, bool setOptions)
|
||||
}
|
||||
}
|
||||
|
||||
QRegularExpression::PatternOptions RegexConfig::GetPatternOptions() const
|
||||
{
|
||||
return _options;
|
||||
}
|
||||
|
||||
void RegexConfig::SetPatternOptions(QRegularExpression::PatternOptions options)
|
||||
{
|
||||
_options = options;
|
||||
}
|
||||
|
||||
QRegularExpression RegexConfig::GetRegularExpression(const QString &expr) const
|
||||
{
|
||||
if (_partialMatch) {
|
||||
|
||||
Reference in New Issue
Block a user