Fixed issue with no args on regex