2bip% S SK r S SKJrJr S SKJrJr SSKJrJ r S\ S\ 4S jr " S S \5 r " S S\5 r " S S\5 r " S S\5 r " S S\5 r " S S\5 r\S:X Gav SSKJr \" 5 r\R+ S5 \R+ S5 \R+ S5 \R+ S5 \R+ S5 \R+ S5 \R+ S5 \R+ S5 \R+ S5 \R+ S 5 \R+ S!5 \R+ S"5 \R+ S#5 \R+ S$5 \R+ S%5 \R+ S&5 \R+ S'5 \R+ S(5 \R+ S)5 S SKr\R/ \R0 " S*SS+.S,9SS-9 gg). N)ABCabstractmethod)ListUnion )SpanTextregexesreturnc $ SR U 5 $ )zoCombine a number of regexes in to a single regex. Returns: str: New regex with all regexes ORed together. |)join)r s ڎ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/rich/highlighter.py_combine_regexr s 88G c P \ rS rSrSrS\\\4 S\4S jr\ S\SS4S j5 r Srg) Highlighter z%Abstract base class for highlighters.textr c [ U[ 5 ( a [ U5 nO5[ U[ 5 ( a UR 5 nO[ SU< 35 eU R U5 U$ )zHighlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. Raises: TypeError: If not called with text or str. Returns: Text: A test instance with highlighting applied. z#str or Text instance required, not ) isinstancestrr copy TypeError highlight)selfr highlight_texts r __call__Highlighter.__call__ sW dC !$ZN d # #!YY[NA$JKK~&r Nc g)zWApply highlighting in place to text. Args: text (~Text): A text object highlight. N r r s r r Highlighter.highlight) r r! )__name__ __module____qualname____firstlineno____doc__r r r r r r __static_attributes__r! r r r r sC /U39- $ * d t r r c * \ rS rSrSrS\SS4S jrSrg)NullHighlighter2 z]A highlighter object that doesn't highlight. May be used to disable highlighting entirely. r r Nc g)z Nothing to doNr! r" s r r NullHighlighter.highlight9 r$ r r! )r% r&