Regex and table