Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
parsimonious.expressions.Regex Class Reference
Inheritance diagram for parsimonious.expressions.Regex:
Inheritance graph
[legend]
Collaboration diagram for parsimonious.expressions.Regex:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, pattern, name='', ignore_case=False, locale=False, multiline=False, dot_all=False, unicode=False, verbose=False, ascii=False)
 
- Public Member Functions inherited from parsimonious.expressions.Expression
 __hash__ (self)
 
 __eq__ (self, other)
 
 __ne__ (self, other)
 
 resolve_refs (self, rule_map)
 
 parse (self, text, pos=0)
 
 match (self, text, pos=0)
 
 match_core (self, text, pos, cache, error)
 
 __str__ (self)
 
 as_rule (self)
 
- Public Member Functions inherited from parsimonious.utils.StrAndRepr
 __repr__ (self)
 

Public Attributes

 re
 
 identity_tuple
 
- Public Attributes inherited from parsimonious.expressions.Expression
 name
 
 identity_tuple
 

Protected Member Functions

 _uncached_match (self, text, pos, cache, error)
 
 _regex_flags_from_bits (self, bits)
 
 _as_rhs (self)
 
- Protected Member Functions inherited from parsimonious.expressions.Expression
 _eq_check_cycles (self, other, checked)
 
 _unicode_members (self)
 

Detailed Description

An expression that matches what a regex does.

Use these as much as you can and jam as much into each one as you can;
they're fast.

Constructor & Destructor Documentation

◆ __init__()

parsimonious.expressions.Regex.__init__ (   self,
  pattern,
  name = '',
  ignore_case = False,
  locale = False,
  multiline = False,
  dot_all = False,
  unicode = False,
  verbose = False,
  ascii = False 
)

Member Function Documentation

◆ _as_rhs()

parsimonious.expressions.Regex._as_rhs (   self)
protected
Return the right-hand side of a rule that represents me.

Implemented by subclasses.

Reimplemented from parsimonious.expressions.Expression.

◆ _regex_flags_from_bits()

parsimonious.expressions.Regex._regex_flags_from_bits (   self,
  bits 
)
protected
Return the textual equivalent of numerically encoded regex flags.

◆ _uncached_match()

parsimonious.expressions.Regex._uncached_match (   self,
  text,
  pos,
  cache,
  error 
)
protected
Return length of match, ``None`` if no match.

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