in reply to Can "delayed-regex assertions" be nested...

If @A contains text, not regexs, then join( '|', @A ) should be join( '|', map quotemeta, @A ). Same for @B.