Werk #17075 · Jun 21, 24
Fix regex error when using global flags when matching multiple expressions
There are a few places where we concatenate multiple regular expressions to save performance. This concatenation broke when expressions using global flags such as "(?i)cpu" were concatenated. With this werk, we are converting these global flags to local ones for that specific expression which restores the expected behavior of the expression, fixing various crashes that would occur for example when updating or activating changes.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 2.4.0b1All Editions
- 2.3.0p8CommunityProUltimateUltimate + MT
- 2.2.0p28CommunityProUltimateUltimate + MT