pytest_wdl/utils.py
def safe_string(s: str, replacement: str = "_") -> str:
    """
    Makes a string safe by replacing non-word characters.

    Args:
        s: The string to make safe
        replacement: The replacement stringj

    Returns:
        The safe string
    """
    return UNSAFE_RE.sub(replacement, s)

    Makes a string safe by replacing non-word characters.

    Args:
        s: The string to make safe
        replacement: The replacement stringj

    Returns:
        The safe string
    
Makes a string safe by replacing non-word characters.
Makes a string safe by replacing non - word characters .
def safe_string(s: str, replacement: str = "_") -> str:
    return UNSAFE_RE.sub(replacement, s)
def safe_string ( s : str , replacement : str = "_" ) -> str : return UNSAFE_RE . sub ( replacement , s )
Makes a string safe by replacing non-word characters.
Makes a string safe by replacing non - word characters .
"""
    Makes a string safe by replacing non-word characters.

    Args:
        s: The string to make safe
        replacement: The replacement stringj

    Returns:
        The safe string
    """
The safe string
The safe string
s
str
The string to make safe
The string to make safe
replacement
str
The replacement stringj
The replacement stringj