Version column: give an inch, we'll take a mile
Posted: Tue Sep 20, 2005 9:16 am
I only just noticed the Version column in directory comparisons (which I guess has been there more than a year since 3.2c). And see some pretty nifty background version calculations seem to be in place already! How I long now for the possibility to show the version number from text files. Such as those written in source files treated by version control system (casually reusing terminiology from nr. 8 on the wish list here).
My proposal is to enrich the settings with a regular expression containing a "group". E.g. a javadoc style version number could be covered with:
This would set \1 or $1 (RegEx/perl speak) to the bare version number displayed in the Version column. The first match would do it, possibly only in the first few blocks of a file.
And then, to top it off, an additional Ignore option to ignore lines matched by the version number filter. Please, please?
My proposal is to enrich the settings with a regular expression containing a "group". E.g. a javadoc style version number could be covered with:
Code: Select all
^ *\* @version (.*)$
And then, to top it off, an additional Ignore option to ignore lines matched by the version number filter. Please, please?