The pattern R"(^建-门)|(^建-窗)" was broken because the ) in (^建-门) terminates the R"(...)" raw string prematurely. Fixed by simplifying to ^建-[门窗] character class, which is both correcter (matches 建-门* and 建-窗*) and avoids the delimiter issue. Verified: all 101 regex patterns across 4 standards compile and pass validation tests.