regex processor fully working