1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-19 13:54:23 +01:00

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

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>