Regular Expressions were a mistake