fixed sign bug with regex.