6 python regex non-printing-characters
如何匹配python正则表达式中的不可打印字符?在我的情况下,我有一个字符串,其中包含可打印和不可打印的字符组合.
Example String: "Det 3 @ NYY 5 ?7" where the ? is either 0x7f or 0x80.
Run Code Online (Sandbox Code Playgroud)
在上面的例子中,我需要匹配0x7f或0x80.如何在python正则表达式中指定它?