We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e933d3c commit 03e574bCopy full SHA for 03e574b
rich/text.py
@@ -600,7 +600,7 @@ def highlight_regex(
600
translated to styles.
601
602
Args:
603
- re_highlight (Union[re.Pattern, str]): A regular expression.
+ re_highlight (Union[re.Pattern, str]): A regular expression object or string.
604
style (Union[GetStyleCallable, StyleType]): Optional style to apply to whole match, or a callable
605
which accepts the matched text and returns a style. Defaults to None.
606
style_prefix (str, optional): Optional prefix to add to style group names.
0 commit comments