fix regex.startIndex when matching motorcycle tags