Menu

#51 Ignore certain differences

open
None
5
2016-12-21
2016-12-21
Rory Hewitt
No

It would be great to be able to define certain differences that can be ignored, ideally allowing wildcards.

You could have (at least) two options:

  • If text appears in both lines being compared, then they are treated as equivalent, no matter what other differences exist in the lines
  • If text appears in only only one line, then they are treated as equivalent (great for temnplates, where the left side is the template and the right side was created from that template)

where text can include wildcards, e.g.:

*username*

If you want to get fancy, you could allow text to be a regex (for either option above), but simply allowing an asterisk to represent zero-or-more characters would probably be enough.

Discussion


Log in to post a comment.