-
Notifications
You must be signed in to change notification settings - Fork 347
Disallow leading spaces in error regexp in interactive mode. #636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Disallow leading spaces in error regexp in interactive mode.
05b9857
to
6a9f506
Compare
Fixes #635. Note that we should really have a test suite with examples of texts that should and should not be matched. |
What about this? It matches the filename greedily. Also, I don't think filenames are really restriced to alnum characters, even though module names might be.
|
Does GHC do some quoting/escaping should a file name contain unfriendly character like on of `:'"/? |
Can you please create some ert tests for this function? I feel uneasy accepting this commit without any tests whatsoever. Please create a new file |
Filenames (base names and dir names) are very unlikely to contain special characters like
When the colon comes from a |
@ikirill: Can we have some ert tests for this? It is a very useful functionality, but we must have tests before we merge. |
@ikirill: What's up with this one? Have we achieved consensus here? Do we have tests? |
@ikirill ? |
@bergey: Daniel, if you had time to take this one over it would be beyond great. We need tests. |
OK, I'll add tests for this. |
Disallow leading spaces in error regexp in interactive mode.