#20411 fix Yaml parsing for very long quoted strings #21523
If a YAML string has too many spaces in the value, it can trigger a
There should be no behavioural change other than the bug fix
I have included a test which fails before this fix and passes after this fix.
I have also added checks that detect other PCRE internal errors and throw a more descriptive exception. Before this patch, the YAML engine would often give incorrect results, rather than throwing, on a PCRE