added regex asssignment