Skip to content

Apache Lucene open-source search software

LUCENE-4008: Add missing $

Uwe Schindlerb3ead811c3b9
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 06749d11662..af975fdfcc4 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -1536,7 +1536,7 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
var markdownSource = self.getToken();
var title = undefined;
// match the first heading in markdown and use as title:
- if (markdownSource.search(/^#+\s*(.+)/m) >= 0) {
+ if (markdownSource.search(/^#+\s*(.+)$/m) >= 0) {
title = RegExp.$1;
}
var processor = new PegDownProcessor(