Class: RubyQt6::QtCore::QRegularExpression

Inherits:
Object
  • Object
show all
Defined in:
lib/qt6/qtcore/qregularexpression.rb

Overview

Defined Under Namespace

Classes: MatchOption, MatchOptions, MatchType, PatternOption, PatternOptions, WildcardConversionOption, WildcardConversionOptions

Instance Method Summary collapse

Constructor Details

#initialize(pattern = "", options = nil) ⇒ QRegularExpression

Parameters:



28
29
30
31
# File 'lib/qt6/qtcore/qregularexpression.rb', line 28

def initialize(pattern = "", options = nil)
  options ||= QRegularExpression::PatternOption::NoPatternOption
  _initialize(T.to_qstr(pattern), T.to_qflags(options))
end