Skip to content

Apache Lucene open-source search software

releasedJirasRegex.py: fixed comment about the limitations of the script

Steve Rowe8c47d20d23f5
diff --git a/dev-tools/scripts/releasedJirasRegex.py b/dev-tools/scripts/releasedJirasRegex.py
index 3ed57a53ff3..dc5e1b3d669 100644
--- a/dev-tools/scripts/releasedJirasRegex.py
+++ b/dev-tools/scripts/releasedJirasRegex.py
@@ -24,9 +24,10 @@ import re
# under the given version in the given CHANGES.txt file
# and prints a regular expression that will match all of them
#
-# Caveat: only works with modern CHANGES releases that use bullets
-# ('*' or '-') - other list item mechanisms (numbers or letters)
-# are not handled properly.
+# Caveat: In ancient versions (Lucene v1.9 and older; Solr v1.1 and older),
+# does not find Bugzilla bugs or JIRAs not mentioned at the beginning of
+# bullets or numbered entries.
+#
def print_released_jiras_regex(version, filename):
release_boundary_re = re.compile(r'\s*====*\s+(.*)\s+===')
version_re = re.compile(r'%s(?:$|[^-])' % version)