У меня есть эти (примерные) строки в HTML-файле:
test.ABC.test
test.ABCD.test
test.ABCE.test
А этот Муравей propertyregex
:
<loadfile property="getRecords" srcFile="./index.html"/>
<propertyregex property="record" input="${getRecords}" regexp="test\.([^\.]*)\.test" select="\1" casesensitive="true" override="true" global="true" />
<echo message="${record}" />
Результат просто
ABC
Но я бы хотел получить все совпадения. Как я могу получить
ABC
ABCD
ABCE
как результат?