Fix regexp pattern for revision detection in build.xml

This commit is contained in:
Cristian Maglie 2014-05-29 11:58:20 +02:00
parent cc2a9a65c3
commit 777692a0f3
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@
<tokenfilter>
<linetokenizer includeDelims="false" />
<!-- grab the thing from the first line that's 4 digits -->
<containsregex pattern="ARDUINO (.*) " />
<containsregex pattern="ARDUINO ([^ ]*)" />
<replaceregex pattern="ARDUINO ([^ ]*).*" replace="\1" />
</tokenfilter>
<tokenfilter>