Moved the regex for the syntax guessing