regex now works