Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-17602: Fix scriptutil lucene version regex

Houston Putman599ffaa7083f
diff --git a/dev-tools/scripts/scriptutil.py b/dev-tools/scripts/scriptutil.py
index 6d1fb9bc851..c766077356f 100644
--- a/dev-tools/scripts/scriptutil.py
+++ b/dev-tools/scripts/scriptutil.py
@@ -229,7 +229,7 @@ def attemptDownload(urlString, fileName):
version_prop_re = re.compile(r'baseVersion\s*=\s*([\'"])(.*)\1')
-lucene_version_prop_re = re.compile(r'^apache-lucene\s*=\s*"([a-zA-Z0-9\.\-]+)"')
+lucene_version_prop_re = re.compile(r'apache-lucene\s*=\s*"([a-zA-Z0-9\.\-]+)"')
def find_current_version():
script_path = os.path.dirname(os.path.realpath(__file__))