-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Labels
Description
In Mercurial, we have to use ^(?:<patterns>) where <patterns> is the culmination of all patterns (transformed to regex) in the user's .hgignore to remove the additional .* on each end. The user could input a regex like )(, which while invalid on its own would work with the workaround and would create a useless capturing group.
Adding an option to RegexBuilder and its bytes cousin seems like a good solution to me.