1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03: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> <tokenfilter>
<linetokenizer includeDelims="false" /> <linetokenizer includeDelims="false" />
<!-- grab the thing from the first line that's 4 digits --> <!-- grab the thing from the first line that's 4 digits -->
<containsregex pattern="ARDUINO (.*) " /> <containsregex pattern="ARDUINO ([^ ]*)" />
<replaceregex pattern="ARDUINO ([^ ]*).*" replace="\1" /> <replaceregex pattern="ARDUINO ([^ ]*).*" replace="\1" />
</tokenfilter> </tokenfilter>
<tokenfilter> <tokenfilter>