master_parse/__init__.py
def _replace_line(line: str, regex_replace_list: Sequence[Tuple[Pattern, str]]) -> str:
    """Replace any regular expression search matches with the provided string.

    Args:
        line (str): The line to check for matches that will be replaced.
        regeReplacexList (list[tuple[_sre_SRE_Pattern, str]]): A list of tuples
            containing a pair consisting of a compiled regular expression and
            the string to be used to replace matches.

    Returns:
        str: A string where all of the matches for the regular expressions have
             been replaced by the values provided.
    """
    for regex, value in regex_replace_list:
        line = re.sub(regex, value, line)
    return line
Replace any regular expression search matches with the provided string.

    Args:
        line (str): The line to check for matches that will be replaced.
        regeReplacexList (list[tuple[_sre_SRE_Pattern, str]]): A list of tuples
            containing a pair consisting of a compiled regular expression and
            the string to be used to replace matches.

    Returns:
        str: A string where all of the matches for the regular expressions have
             been replaced by the values provided.
    
Replace any regular expression search matches with the provided string.
Replace any regular expression search matches with the provided string .
def _replace_line(line: str, regex_replace_list: Sequence[Tuple[Pattern, str]]) -> str:
    for regex, value in regex_replace_list:
        line = re.sub(regex, value, line)
    return line
def _replace_line ( line : str , regex_replace_list : Sequence [ Tuple [ Pattern , str ] ] ) -> str : for regex , value in regex_replace_list : line = re . sub ( regex , value , line ) return line
Replace any regular expression search matches with the provided string.
Replace any regular expression search matches with the provided string .
"""Replace any regular expression search matches with the provided string.

    Args:
        line (str): The line to check for matches that will be replaced.
        regeReplacexList (list[tuple[_sre_SRE_Pattern, str]]): A list of tuples
            containing a pair consisting of a compiled regular expression and
            the string to be used to replace matches.

    Returns:
        str: A string where all of the matches for the regular expressions have
             been replaced by the values provided.
    """
A string where all of the matches for the regular expressions have
been replaced by the values provided.
A string where all of the matches for the regular expressions have been replaced by the values provided .
str
line
str
The line to check for matches that will be replaced.
The line to check for matches that will be replaced .
regex_replace_list
Sequence[Tuple[Pattern, str]]
regeReplacexList
A list of tuples
containing a pair consisting of a compiled regular expression and
the string to be used to replace matches.
A list of tuples containing a pair consisting of a compiled regular expression and the string to be used to replace matches .