Added regex patterns for a few languages, and cleaned up a little bit of the regex