Skip to content

Commit

Permalink
extra backtick
Browse files Browse the repository at this point in the history
Co-authored-by: Ulyana <[email protected]>
  • Loading branch information
jwmueller and ulya-tkch authored May 4, 2024
1 parent a9da728 commit c65bd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cleanlab_studio/utils/data_enrichment/enrichment_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_regex_match(
response: str, regex_list: List[re.Pattern[str]], disable_warnings: bool
) -> Union[str, None]:
"""Extract the first match from the response using the provided regex patterns. Return first match if multiple exist.
Note: This function assumes the regex patterns each specify exactly 1 group that is the match group using `'(<group>)'`."""
Note: This function assumes the regex patterns each specify exactly 1 group that is the match group using ``'(<group>)'``."""
for regex_pattern in regex_list:
pattern_match = regex_pattern.match(response)
if pattern_match:
Expand Down

0 comments on commit c65bd25

Please sign in to comment.