Skip to content

Improve sorting for edge case of match-all #92

Open

Description

@htdinh

The issue is described in comment. The desired sorting should be following. The soft-rule, suggested by @kirsle , is only by the number of words that aren't wildcards, because that's usually the more useful thing when trying to order triggers by "most specific first" ordering

+ [*] text [*]
- match with text
+ [*]
- match all 1
+ *
- match all 2

Activity

  1. added 2 commits that reference this issue on May 19, 2017
  2. added a commit that references this issue on May 19, 2017
  3. added 3 commits that reference this issue on Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions