possible regex exploit on quoted pattern
The default pattern for matching quoted strings is vulnerable to ReDoS.
>>> ihih.IHIH(()).r_quoted.pattern
'(?<!\\\\)(?:\\\\\\\\)*(?P<quote>["\\\'])(?P<value>.*?)(?<!\\\\)(?:\\\\\\\\)*(?P=quote)'
Redos(starriness=3, prefix_sequence=SEQ{ }, redos_sequence=SEQ{ SEQ{ [5c:\] [5c:\] [5c:\] [5c:\] }{0+} [22:",5c:\,27:'] .{0+} SEQ{ [5c:\] [5c:\] [5c:\] [5c:\] }{0+} [22:",5c:\,27:'] }, repeated_character=[5c:\], killer=[^22:",5c:\,27:'])
Worst-case complexity: 3 ⭐⭐⭐ (cubic)
Repeated character: [5c:\]
Final character to cause backtracking: [^22:",5c:\,27:']
Example: '\\' * 3456 + '0'