Skip to content

Commit

Permalink
Update rich/text.py
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan authored Sep 30, 2024
1 parent e933d3c commit 03e574b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rich/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def highlight_regex(
translated to styles.
Args:
re_highlight (Union[re.Pattern, str]): A regular expression.
re_highlight (Union[re.Pattern, str]): A regular expression object or string.
style (Union[GetStyleCallable, StyleType]): Optional style to apply to whole match, or a callable
which accepts the matched text and returns a style. Defaults to None.
style_prefix (str, optional): Optional prefix to add to style group names.
Expand Down

0 comments on commit 03e574b

Please sign in to comment.