Skip to content

Commit

Permalink
Merge pull request #451 from KostyaSha/fixHelps
Browse files Browse the repository at this point in the history
reference real pattern docs in help file
  • Loading branch information
MarkEWaite committed Nov 28, 2016
2 parents 2d7c339 + f90619b commit 37a9588
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<div>
Each exclusion uses regular expression pattern matching, and must be separated by a new line.
Each exclusion uses <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html">java regular expression pattern matching</a>,
and must be separated by a new line.
<p/>
<pre>
myapp/src/main/web/.*\.html
myapp/src/main/web/.*\.jpeg
myapp/src/main/web/.*\.gif
myapp/src/main/web/.*\.html
myapp/src/main/web/.*\.jpeg
myapp/src/main/web/.*\.gif
</pre>
The example above illustrates that if only html/jpeg/gif files have been committed to
the SCM a build will not occur.
<p/>
More information on regular expressions can be found
<a href="http://www.regular-expressions.info/" target="_blank">here</a>.
</div>
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<div>
Each inclusion uses regular expression pattern matching, and must be separated by a new line.
Each inclusion uses <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html">java regular expression pattern matching</a>,
and must be separated by a new line.
An empty list implies that everything is included.
<p/>
<pre>
myapp/src/main/web/.*\.html
myapp/src/main/web/.*\.jpeg
myapp/src/main/web/.*\.gif
myapp/src/main/web/.*\.html
myapp/src/main/web/.*\.jpeg
myapp/src/main/web/.*\.gif
</pre>
The example above illustrates that a build will only occur, if html/jpeg/gif files
have been committed to the SCM. Exclusions take precedence over inclusions, if there is
an overlap between included and excluded regions.
<p/>
More information on regular expressions can be found
<a href="http://www.regular-expressions.info/" target="_blank">here</a>.
</div>

0 comments on commit 37a9588

Please sign in to comment.