This will be used to implement support for BREs using PCRE which doesn't support them directly in the upcoming commits.