Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added greedy parameter to break out of match checking when numMatches reaches maxMatches
- Loading branch information
Showing
4 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 95 additions & 0 deletions
95
src/test/resources/org/jenkinsci/plugins/tokenmacro/impl/JENKINS-49746-input.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed |
31 changes: 31 additions & 0 deletions
31
src/test/resources/org/jenkinsci/plugins/tokenmacro/impl/JENKINS-49746-output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion yet_another_location has failed | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *W,ASRTST (some_other_string): (some_time) Assertion some_other_location has failed | ||
A MESSAGE | ||
ncsim: *E,ASRTST (some_string): (some_time) Assertion some_location has failed |