Documentation for BRU points tohttp://www.pcre.org/ andhttp://perldoc.perl.org/perlre.html for references as to the BRU regex implementation.
Best I can tell BRU does not follow perlre.html. One specific area where it is deficient/different is the area of named capture groups. Also, capture group references do not appear to support the "$1, $2 .. " syntax.
Consider using the PCRE2 library and also having the implementation conform to perlre.html.