mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-22 18:43:26 +00:00
25408a618e
CRITICAL BUG FIX: - Previous pattern `/^defaults[[:space:]]/` required whitespace after keyword - HAProxy allows `defaults` without a name (no trailing whitespace) - Pattern failed to match, causing global extraction to include defaults section New pattern uses `([[:space:]]|$)`: - Matches keyword followed by whitespace OR end of line - `defaults` (no name) now correctly triggers exit - `defaults http` (named) also correctly triggers exit Test results: - Old pattern: extracted 8 lines (included defaults) ❌ - New pattern: extracted 4 lines (stopped at defaults) ✅