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

Public Member Functions

Optional[Any] search (self, str string, int pos=..., int endpos=...)
 
str pattern (self)
 
- Public Member Functions inherited from typing_extensions.Protocol
 __init_subclass__ (cls, *args, **kwargs)
 
- Public Member Functions inherited from typing_extensions._ProtocolMeta
 __new__ (mcls, name, bases, namespace, **kwargs)
 
 __init__ (cls, *args, **kwargs)
 
 __subclasscheck__ (cls, other)
 
 __instancecheck__ (cls, instance)
 
 __eq__ (cls, other)
 
int __hash__ (cls)
 

Static Protected Attributes

TypeAlias _IncomingMarkup = Union[str, bytes, IO[str], IO[bytes]]
 
TypeAlias _RawMarkup = Union[str, bytes]
 
TypeAlias _Encoding = str
 
TypeAlias _Encodings = Iterable[_Encoding]
 
TypeAlias _NamespacePrefix = str
 
TypeAlias _NamespaceURL = str
 
TypeAlias _NamespaceMapping = Dict[_NamespacePrefix, _NamespaceURL]
 
TypeAlias _InvertedNamespaceMapping = Dict[_NamespaceURL, _NamespacePrefix]
 
TypeAlias _RawAttributeValue = str
 
tuple _RawAttributeValues
 
TypeAlias _AttributeValue = Union[str, "AttributeValueList"]
 
TypeAlias _AttributeValues = Dict[str, _AttributeValue]
 
TypeAlias _RawOrProcessedAttributeValues = Union[_RawAttributeValues, _AttributeValues]
 
TypeAlias _InsertableElement = Union["PageElement", str]
 
TypeAlias _PageElementMatchFunction = Callable[["PageElement"], bool]
 
TypeAlias _TagMatchFunction = Callable[["Tag"], bool]
 
TypeAlias _NullableStringMatchFunction = Callable[[Optional[str]], bool]
 
TypeAlias _StringMatchFunction = Callable[[str], bool]
 
TypeAlias _BaseStrainable = Union[str, bytes, Pattern[str], bool]
 
TypeAlias _BaseStrainableElement = Union[_BaseStrainable, _TagMatchFunction]
 
TypeAlias _BaseStrainableAttribute = Union[_BaseStrainable, _NullableStringMatchFunction]
 
TypeAlias _StrainableElement
 
TypeAlias _StrainableAttribute
 
TypeAlias _StrainableString = _StrainableAttribute
 
TypeAlias _StrainableAttributes = Dict[str, _StrainableAttribute]
 
TypeAlias _OneElement = Union["PageElement", "Tag", "NavigableString"]
 
TypeAlias _AtMostOneElement = Optional[_OneElement]
 
TypeAlias _AtMostOneTag = Optional["Tag"]
 
TypeAlias _AtMostOneNavigableString = Optional["NavigableString"]
 
TypeAlias _QueryResults = "ResultSet[_OneElement]"
 
TypeAlias _SomeTags = "ResultSet[Tag]"
 
TypeAlias _SomeNavigableStrings = "ResultSet[NavigableString]"
 
- Static Protected Attributes inherited from typing_extensions.Protocol
bool _is_protocol = True
 
bool _is_runtime_protocol = False
 

Additional Inherited Members

- Protected Attributes inherited from typing_extensions.Protocol
 _is_protocol
 

Detailed Description

A protocol object which can accept either Python's built-in
`re.Pattern` objects, or the similar ``Regex`` objects defined by the
third-party ``regex`` package.

Member Data Documentation

◆ _RawAttributeValues

tuple bs4._typing._RegularExpressionProtocol._RawAttributeValues
staticprotected
Initial value:
= (
"Mapping[Union[str, NamespacedAttribute], _RawAttributeValue]"
)

◆ _StrainableAttribute

TypeAlias bs4._typing._RegularExpressionProtocol._StrainableAttribute
staticprotected
Initial value:
= Union[
_BaseStrainableAttribute, Iterable[_BaseStrainableAttribute]
]

◆ _StrainableElement

TypeAlias bs4._typing._RegularExpressionProtocol._StrainableElement
staticprotected
Initial value:
= Union[
_BaseStrainableElement, Iterable[_BaseStrainableElement]
]

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