BUPKIS
    Preparing search index...

    Function safeRegexStringFilter

    • Filters strings to remove characters that could cause regex syntax errors. Removes: [ ] ( ) { } ^ $ * + ? . \ |

      Parameters

      • str: string

        Input string

      Returns string

      String with problematic regex characters removed