regsuball() doesn't honor lookahead assertion on repeated strings

Fixes: #1557