I'm hoping that someone can help me determine whether or not the following is a software bug, or if I'm doing something wrong (most likely).
I am building a series of regular expressions composed of predefined named subroutines. In this example, I reference the predefined named subroutine 'id' within another predefined named subroutine 'id_alias'. In my non-minimal code, I make many more references to predefined named subroutines from within other predefined named subroutines. I have come up with a minimal example that demonstrates the problem I am about to describe:
When I attempt to apply this regex in TextPad 8.1.2 (64-bit Edition), I receive the message "Encountered an infinite recursion". This regex works when I test it using the following link:
Thanks for the response. Hmm, I wonder if there are any workarounds? I bought EditPadPro over the weekend thinking that it would allow me to use regex subroutines, but alas, it doesn't. It's really disappointing too since the website https://www.regular-expressions.info/ so heavily touted its "robustness". I may go to the Boost website to see if a corresponding bug report has been logged.
The Boost regex library was written by John Maddock. I contacted him about it in the past and found him very responsive and helpful. But that was many years ago...