mirror of
https://github.com/catchorg/Catch2.git
synced 2025-03-10 05:34:46 +01:00

It did not clear out all of its internal state when switching from one pattern to another, so when it should've escaped `,`, it took its position from its position in the original user-provided string, rather than its position in the current pattern. Fixes #1905