This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 599ffaa7083fb2c35b6c9781e2b674bcfffbbd60
Author: Houston Putman <[email protected]>
AuthorDate: Mon Jul 7 11:48:28 2025 -0600

    SOLR-17602: Fix scriptutil lucene version regex
---
 dev-tools/scripts/scriptutil.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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__))

Reply via email to