[3.14] gh-146333: Fix quadratic regex backtracking in configparser option parsing (GH-146399) (#148287)
gh-146333: Fix quadratic regex backtracking in configparser option parsing (GH-146399) Use negative lookahead in option regex to prevent backtracking, and to avoid changing logic outside the regexes (since people could use the regex directly). (cherry picked from commit 7e0a0be4097f9d29d66fe23f5af86f18a34ed7dd) Co-authored-by: Joshua Swanson <22283299+joshuaswanson@users.noreply.github.com>
M
Miss Islington (bot) committed
af2f5189a12888afa4e93243653c331e9fffddb5
Parent: 4f8a77b
Committed by GitHub <noreply@github.com>
on 4/12/2026, 12:05:10 AM