added regex matching option
Added regex matching option