fixed regex and $.*