2012-09-05 31 views

回答

15

ant-optional軟件包中找到正則表達式匹配程序Ubuntu,然後安裝即可解決問題。

sudo apt-get install ant-optional

+0

它解決了我的問題,救了我的時間...... –

+0

你是我的英雄。 –

8

僅供參考CentOS中包名是螞蟻Apache的正則表達式

yum install ant-apache-regexp 
0

對於SUSE 11是長一點

1.什麼是你的螞蟻確切的版本?在我的情況下,它是1.7.0

  1. 下載RPM:在我的情況下,包名稱爲螞蟻Apache的正則表達式,1.7.0-200.2.noarch.rpm
  2. 執行以下

    轉-i螞蟻Apache的正則表達式,1.7.0-200.2.noarch.rpm