Fix bug in yr_re_exec logic
Fix bug in yr_re_exec logic

jpypi/yara,neatsun/yara,cblichmann/yara,tdr130/yara,MeteorAdminz/yara,pombredanne/yara,plusvic/yara,hillu/yara,frbapolkosnik/yara,jshufelt/yara,bmagistro/yara,pombredanne/yara,cblichmann/yara,hillu/yara,beikezcs/yara,rayyang2000/yara,VirusTotal/yara,hillu/yara,digideskio/yara,jshufelt/yara,plusvic/yara,bmagistro/yara,plusvic/yara,VirusTotal/yara,wxsBSD/yara,VirusTotal/yara,kallanreed/yara,binsrc/yara,Security513/yara,frbapolkosnik/yara,msuvajac/yara,plusvic/yara,jpypi/yara,jshufelt/yara,neatsun/yara,beikezcs/yara,mgoffin/yara,binsrc/yara,msuvajac/yara,frbapolkosnik/yara,mgoffin/yara,bmagistro/yara,smaudet/yara,cblichmann/yara,VirusTotal/yara,wxsBSD/yara,Security513/yara,foreni-packages/yara,hillu/yara,hillu/yara,rednaga/yara,digideskio/yara,rayyang2000/yara,mgoffin/yara,tanium/yara,msuvajac/yara,0x0mar/yara,tanium/yara,0x0mar/yara,0x0mar/yara,foreni-packages/yara,pombredanne/yara,tanium/yara,pombredanne/yara,tdr130/yara,mgoffin/yara,rednaga/yara,plusvic/yara,Security513/yara,0x0mar/yara,binsrc/yara,cblichmann/yara,cblichmann/yara,binsrc/yara,smaudet/yara,beikezcs/yara,kallanreed/yara,frbapolkosnik/yara,tdr130/yara,jpypi/yara,kallanreed/yara,wxsBSD/yara,VirusTotal/yara,foreni-packages/yara,wxsBSD/yara,wxsBSD/yara,MeteorAdminz/yara,pombredanne/yara,jshufelt/yara,smaudet/yara,MeteorAdminz/yara,rayyang2000/yara,digideskio/yara,digideskio/yara,neatsun/yara,smaudet/yara,rednaga/yara