Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtCore »

Classe « QRegularExpression »

Informations générales

Héritage

builtins.object
    Object
        QRegularExpression

Définition

class QRegularExpression(Object):

Description [extrait de QRegularExpression.__doc__]

QRegularExpression(self) -> None
QRegularExpression(self, pattern: str, options: PySide6.QtCore.QRegularExpression.PatternOptions = PySide6.QtCore.QRegularExpression.PatternOption.NoPatternOption) -> None
QRegularExpression(self, re: Union[PySide6.QtCore.QRegularExpression, str]) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AnchorAtOffsetMatchOptionPySide6.QtCore.QRegularExpression.MatchOption.AnchorAtOffsetMatchOption
AnchoredMatchOptionPySide6.QtCore.QRegularExpression.MatchOption.AnchoredMatchOption
CaseInsensitiveOptionPySide6.QtCore.QRegularExpression.PatternOption.CaseInsensitiveOption
DefaultWildcardConversionPySide6.QtCore.QRegularExpression.WildcardConversionOption.DefaultWildcardConversion
DontCaptureOptionPySide6.QtCore.QRegularExpression.PatternOption.DontCaptureOption
DontCheckSubjectStringMatchOptionPySide6.QtCore.QRegularExpression.MatchOption.DontCheckSubjectStringMatchOption
DotMatchesEverythingOptionPySide6.QtCore.QRegularExpression.PatternOption.DotMatchesEverythingOption
ExtendedPatternSyntaxOptionPySide6.QtCore.QRegularExpression.PatternOption.ExtendedPatternSyntaxOption
InvertedGreedinessOptionPySide6.QtCore.QRegularExpression.PatternOption.InvertedGreedinessOption
MultilineOptionPySide6.QtCore.QRegularExpression.PatternOption.MultilineOption
NoMatchPySide6.QtCore.QRegularExpression.MatchType.NoMatch
NoMatchOptionPySide6.QtCore.QRegularExpression.MatchOption.NoMatchOption
NoPatternOptionPySide6.QtCore.QRegularExpression.PatternOption.NoPatternOption
NormalMatchPySide6.QtCore.QRegularExpression.MatchType.NormalMatch
PartialPreferCompleteMatchPySide6.QtCore.QRegularExpression.MatchType.PartialPreferCompleteMatch
PartialPreferFirstMatchPySide6.QtCore.QRegularExpression.MatchType.PartialPreferFirstMatch
UnanchoredWildcardConversionPySide6.QtCore.QRegularExpression.WildcardConversionOption.UnanchoredWildcardConversion
UseUnicodePropertiesOptionPySide6.QtCore.QRegularExpression.PatternOption.UseUnicodePropertiesOption

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
anchoredPattern(expression: str) -> str anchoredPattern(expression: str) -> str [extrait de anchoredPattern.__doc__]
captureCount(self) -> int captureCount(self) -> int [extrait de captureCount.__doc__]
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
escape(str: str) -> str escape(str: str) -> str [extrait de escape.__doc__]
fromWildcard(pattern: str, cs: PySide6.QtCore.Qt.CaseSensitivity = PySide6.QtCore.Qt.CaseSensitivity.CaseInsensitive, options: PySide6.QtCore.QRegularExpression.WildcardConversionOptions = PySide6.QtCore.QRegularExpression.WildcardConversionOption.DefaultWildcardConversion) -> PySide6.QtCore.QRegularExpression fromWildcard(pattern: str, cs: PySide6.QtCore.Qt.CaseSensitivity = PySide6.QtCore.Qt.CaseSensitivity.CaseInsensitive, options: PySide6.QtCore.QRegularExpression.WildcardConversionOptions = PySide6.QtCore.QRegularExpression.WildcardConversionOption.DefaultWildcardConversion) -> PySide6.QtCore.QRegularExpression [extrait de fromWildcard.__doc__]
globalMatch globalMatch(self, subject: str, offset: int = 0, matchType: PySide6.QtCore.QRegularExpression.MatchType = PySide6.QtCore.QRegularExpression.MatchType.NormalMatch, matchOptions: PySide6.QtCore.QRegularExpression.MatchOptions = PySide6.QtCore.QRegularExpression.MatchOption.NoMatchOption) -> PySide6.QtCore.QRegularExpressionMatchIterator [extrait de globalMatch.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
match match(self, subject: str, offset: int = 0, matchType: PySide6.QtCore.QRegularExpression.MatchType = PySide6.QtCore.QRegularExpression.MatchType.NormalMatch, matchOptions: PySide6.QtCore.QRegularExpression.MatchOptions = PySide6.QtCore.QRegularExpression.MatchOption.NoMatchOption) -> PySide6.QtCore.QRegularExpressionMatch [extrait de match.__doc__]
MatchOption
MatchOptions
MatchType
namedCaptureGroups(self) -> List[str] namedCaptureGroups(self) -> List[str] [extrait de namedCaptureGroups.__doc__]
optimize(self) -> None optimize(self) -> None [extrait de optimize.__doc__]
pattern(self) -> str pattern(self) -> str [extrait de pattern.__doc__]
patternErrorOffset(self) -> int patternErrorOffset(self) -> int [extrait de patternErrorOffset.__doc__]
PatternOption
PatternOptions
patternOptions(self) -> PySide6.QtCore.QRegularExpression.PatternOptions patternOptions(self) -> PySide6.QtCore.QRegularExpression.PatternOptions [extrait de patternOptions.__doc__]
setPattern(self, pattern: str) -> None setPattern(self, pattern: str) -> None [extrait de setPattern.__doc__]
setPatternOptions(self, options: PySide6.QtCore.QRegularExpression.PatternOptions) -> None setPatternOptions(self, options: PySide6.QtCore.QRegularExpression.PatternOptions) -> None [extrait de setPatternOptions.__doc__]
swap(self, other: Union[PySide6.QtCore.QRegularExpression, str]) -> None swap(self, other: Union[PySide6.QtCore.QRegularExpression, str]) -> None [extrait de swap.__doc__]
WildcardConversionOption
WildcardConversionOptions
wildcardToRegularExpression(str: str, options: PySide6.QtCore.QRegularExpression.WildcardConversionOptions = PySide6.QtCore.QRegularExpression.WildcardConversionOption.DefaultWildcardConversion) -> str wildcardToRegularExpression(str: str, options: PySide6.QtCore.QRegularExpression.WildcardConversionOptions = PySide6.QtCore.QRegularExpression.WildcardConversionOption.DefaultWildcardConversion) -> str [extrait de wildcardToRegularExpression.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__