Regular expressions being greedy seems like a bad default. They tend to work fine on small inputs but capture too much on larger inputs.
Too late to change in most situations though.
It's weird removing syntactic features from a programming language. Do you provide tests?
The odds of regression are small (unlikely to accidentally reimplement it unless there are bad merges). I feel it's good to exercise the change somehow though.
Wilfred Hughes
Shared words: bad, small, change, though
Score: 68.1
When a tool supports both regular expressions and literal strings, which should be the default?
If you default to regex, users can match more strings than they realise (e.g. `foo.txt`) or less (e.g. `foo(bar)`).
I typically see regex as the default, but I prefer the opposite.
I've been experimenting with supporting the unified diff format in difftastic. This is a single column format ('inline') with @@ markers.
What do you think? This format doesn't scale well to larger changes, but it's super familiar and works with other tools.