Regex with ASCII and non-ASCII chars

TOXiC GatlingGun at
Wed Jan 31 12:46:09 CET 2007

Hello everybody.
How I can do a regex match in a string with ascii and non ascii chars
for example:

    regex = re.compile(r"(ÿÿ‹ð…öÂty)", re.IGNORECASE)
    match ="ÿÿ‹ð…öÂty")
    if match:
        result =
        print result
        result = "No match found"
        print result

it return "no match found" even if the two string are equal.
Help me please!
Thx in advance :)

More information about the Python-list mailing list