Robot Framework
robot.utils.match.Matcher Class Reference

Public Member Functions

def __bool__ (self)
 
def __init__ (self, pattern, ignore=(), caseless=True, spaceless=True, regexp=False)
 
def match (self, string)
 
def match_any (self, strings)
 

Public Attributes

 pattern
 

Private Member Functions

def _compile (self, pattern, regexp=False)
 

Private Attributes

 _normalize
 
 _regexp
 

Detailed Description

Definition at line 30 of file match.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.utils.match.Matcher.__init__ (   self,
  pattern,
  ignore = (),
  caseless = True,
  spaceless = True,
  regexp = False 
)

Definition at line 32 of file match.py.

Member Function Documentation

◆ __bool__()

def robot.utils.match.Matcher.__bool__ (   self)

Definition at line 49 of file match.py.

◆ _compile()

def robot.utils.match.Matcher._compile (   self,
  pattern,
  regexp = False 
)
private

Definition at line 38 of file match.py.

◆ match()

def robot.utils.match.Matcher.match (   self,
  string 
)

Definition at line 43 of file match.py.

◆ match_any()

def robot.utils.match.Matcher.match_any (   self,
  strings 
)

Definition at line 46 of file match.py.

Member Data Documentation

◆ _normalize

robot.utils.match.Matcher._normalize
private

Definition at line 34 of file match.py.

◆ _regexp

robot.utils.match.Matcher._regexp
private

Definition at line 36 of file match.py.

◆ pattern

robot.utils.match.Matcher.pattern

Definition at line 33 of file match.py.


The documentation for this class was generated from the following file: