hi, well this is my problem, i'm working in a script (python) to find some files, i compare names of files against a regular expression pattern, now, i have to find files ended with a "~" (tilde), so i builded the next regex:
if re.match("~$", string_test):
print "ok!"
well, python seems to not recognize the regex, i dont know why, i tried the same regex in other languages and it works perfectly, any idea??
PD: i read in a web that i have to insert
# -*- coding: utf-8 -*-
but doesn't help :( .
Thanks a lot, meanwhile i'm going to keep reading to see if a find something.