pyrit.prompt_target.get_http_target_regex_matching_callback_function# get_http_target_regex_matching_callback_function(key: str, url: str = None) → Callable[source]# Get a callback function that parses HTTP responses using regex matching. Parameters: key (str) – The regex pattern to use for parsing the response. url (str, Optional) – The original URL to prepend to matches if needed. Returns: A function that parses responses using the provided regex pattern. Return type: Callable