diff --git a/ack-sync b/ack-sync index e73fd39..4165b18 100755 --- a/ack-sync +++ b/ack-sync @@ -32,7 +32,7 @@ COMMAND_LINE_SYNTAX_ERROR = 1 VERSION_DETECTION_FAILED = 2 def get_version(title): - m = re.search("[() ][0-9][0-9a-zA-Z.:+-]*", title) + m = re.search("[() ][0-9][0-9a-zA-Z.:+-~]*", title) if m is None: print >> sys.stderr, "Version could not be detected. Please specify it with -V." sys.exit(VERSION_DETECTION_FAILED) diff --git a/fakesync b/fakesync index 9990e9a..cdc8f71 100755 --- a/fakesync +++ b/fakesync @@ -30,7 +30,7 @@ COMMAND_LINE_SYNTAX_ERROR = 1 VERSION_DETECTION_FAILED = 2 def get_version(title): - m = re.search("[() ][0-9][0-9a-zA-Z.:+-]*", title) + m = re.search("[() ][0-9][0-9a-zA-Z.:+-~]*", title) if m is None: print >> sys.stderr, "Version could not be detected. Please specify it with -V." sys.exit(VERSION_DETECTION_FAILED)