Test, validate and match regular expressions
This PCRE regex matches a specific fixed string by building it through nested capturing groups and backreferences. Group 2 captures 'ABC', group 4 captures 'BC', and group 5 captures 'C'. The pattern constructs 'ABCBCABCCA' (group 1) using backreferences to these groups, then requires that exact string to repeat once more via \1. The full match is 'ABCBCABCCAABCBCABCCA'.