darcs

Issue 2735 --tags="*" triggers a bug

Title --tags="*" triggers a bug
Priority Status resolved
Milestone Resolved in
Superseder Nosy List bortzmeyer
Assigned To
Topics

Created on 2024-09-19.09:57:39 by bortzmeyer, last changed 2024-10-26.10:08:29 by bfrk.

Messages
msg24082 (view) Author: bortzmeyer Date: 2024-09-19.09:57:38
% darcs log --tags="*" .
This is a bug! Please report it at http://bugs.darcs.net or via email to bugs@darcs.net:
Explict error in module Text.Regex.TDFA.String : Text.Regex.TDFA.String died: parseRegex for Text.Regex.TDFA.String failed:"*" (line 1, column 1):
unexpected "*"
expecting empty () or anchor ^ or $ or an atom
CallStack (from HasCallStack):
  error, called at lib/Text/Regex/TDFA/Common.hs:31:3 in regex-tdfa-1.3.2-BisVwX77VAh7AtxIZTFfgj:Text.Regex.TDFA.Common

True, the command is invalid but the message says to report so I report.
msg24086 (view) Author: bfrk Date: 2024-10-17.06:55:19
Hm, I am pretty sure we fixed that some time ago. Are you using the 
latest released version?
msg24088 (view) Author: bortzmeyer Date: 2024-10-24.12:17:14
Indeed, I cannot reproduce it with 2.18.3, which produces the expected error message ("Invalid regular expression"). 
I should have indicated the version used, sorry.
History
Date User Action Args
2024-09-19 09:57:39bortzmeyercreate
2024-10-17 06:55:24bfrksetmessages: + msg24086
2024-10-24 12:17:17bortzmeyersetmessages: + msg24088
2024-10-26 10:08:29bfrksetstatus: unknown -> resolved