fixed some regexes that were supposed to match only the beginning of a string instead of anywhere