![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self, Optional[Union[str, bytes]] string=None, Optional[_RegularExpressionProtocol] pattern=None, Optional[Callable] function=None, Optional[bool] present=None, Optional[bool] exclude_everything=None) | |
| bool | matches_string (self, Optional[str] string) |
| str | __repr__ (self) |
| bool | __eq__ (self, Any other) |
Public Attributes | |
| string | |
| pattern | |
| function | |
| present | |
| exclude_everything | |
Static Public Attributes | |
| Optional | string [str] |
| Optional | pattern [_RegularExpressionProtocol] |
| Optional | present [bool] |
| Optional | exclude_everything [bool] |
Protected Member Functions | |
| Optional[bool] | _base_match (self, Optional[str] string) |
Each MatchRule encapsulates the logic behind a single argument passed in to one of the Beautiful Soup find* methods.
|
protected |
Run the 'cheap' portion of a match, trying to get an answer without calling a potentially expensive custom function. :return: True or False if we have a (positive or negative) match; None if we need to keep trying.