Simple fix in regexp to understand `table` AS `table`