Consistent delimiting with lookahead assertions