astrand / pyobfuscate

pyobfuscate
GNU General Public License v2.0
606 stars 161 forks source link

there is error when i use byte #18

Open sjqzhang opened 8 years ago

sjqzhang commented 8 years ago

error: charset=re.compile(b'<meta[^>]charset=[\'\"]?([a-z0-8-]+)[\'\"]?[^>]_?>',re.IGNORECASE).findall(html) correct: charset=re.compile(r'<meta[^>]charset=[\'\"]?([a-z0-8-]+)[\'\"]?[^>]_?>',re.IGNORECASE).findall(html)