Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Notifyr supports a powerful type of pattern syntax for matching file branch names within the selected branches (similar to pattern matching in Apache Ant).

These expressions use the following wild cards:

?

Matches one character (any character except path separators)

*

Matches zero or more

characters

characters (not including path separators)

**

Matches zero or

more path segments.

...

more directories in a path

The '**' wild card selector enables you to match arbitrary directories.

  • A pattern can contain any number of wild cards.
  • If the pattern ends with / then ** is automatically appended - e.g. foo/ will match any branches or tags containing a foo path segment

Also see See the Ant documentation.

Examples

/**/*

Matches everything

/**/PROJECT-*

Matches and branch or tag named PROJECT-*, even in a

name space

namespace.

e.g.

Examples:
/refs/heads/PROJECT-1234

,


/refs/heads/stable/PROJECT-new

or


/refs/tags/PROJECT-1.1

/**/?.?

Matches any branch or tag of 2 characters separated by a '.'.

e.g.

Examples:
/refs/heads/1.1

,


/refs/heads/stable/2.X

or


/refs/tags/3.1

/**/tags/ or

/**/tags/**

Matches all tags and any branches with 'tags' as a namespace.

e.g.

Examples:
/refs/heads/stable/tags/some_branch

,


/refs/tags/project-1.1.0

/**/heads/**/master

Matches all branches called master.

e.g.

Examples:
/refs/heads/master

,


/refs/heads/stable/master