Don't replace ~ when we shouldn't
authorMikael Magnusson <mikachu@gmail.com>
Sun, 5 Jul 2009 18:51:04 +0000 (20:51 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Sun, 5 Jul 2009 18:51:04 +0000 (20:51 +0200)
commitb69ee77256dccee0764c07416fe9bc7db9e5a12d
tree74f797a70f859f688dd8d31cd8cf9159c8f55e88
parent2ed56873b6a51965ff8159f8e0bbf82324f194d8
Don't replace ~ when we shouldn't

Bump glib req to 2.14 to get GRegex, now we only replace ~ with your
homedir in an action if it is (at the start of the string or preceded
by whitespace) and (at the end of the string or followed by (whitespace
or a slash)). (?:^|(?<=[ \t]))~(?=[/ \t$])

Fixes bug #4033.
configure.ac
parser/parse.c