[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3613: [PATCH] Allow trailing spaces and " -" in filenames for the co
From: |
Stefan Monnier |
Subject: |
bug#3613: [PATCH] Allow trailing spaces and " -" in filenames for the compile output parser |
Date: |
Sat, 27 Jun 2009 03:13:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
> I actually have a lot of files that have " -" in the names, this patch
> fixes it for me. If anyone understands this regex (I don't really,
> just kept changing it till it worked), can you see if the change breaks
> anything else?
Your change turns the (core of) regexp back to just ".*?" as it was in
the past. We disallowed trailing spaces as well as " -" because they
lead to false positives in some cases.
There's no way to win in all cases, sadly.
Stefan