Fixed the regular expression and broken syntax