You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/08/28 21:03:54 UTC

svn commit: r1378272 - in /lucene/dev/branches/branch_4x: ./ dev-tools/ dev-tools/scripts/checkJavaDocs.py

Author: mikemccand
Date: Tue Aug 28 19:03:53 2012
New Revision: 1378272

URL: http://svn.apache.org/viewvc?rev=1378272&view=rev
Log:
fix MemoryIndex false positive failure

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/dev-tools/   (props changed)
    lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py

Modified: lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py?rev=1378272&r1=1378271&r2=1378272&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py (original)
+++ lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py Tue Aug 28 19:03:53 2012
@@ -72,8 +72,8 @@ def cleanHTML(s):
   s = s.replace('&', '&')
   return s.strip()
 
-reH3 = re.compile('<h3>(.*?)</h3>', re.IGNORECASE)
-reH4 = re.compile('<h4>(.*?)</h4>', re.IGNORECASE)
+reH3 = re.compile('^<h3>(.*?)</h3>', re.IGNORECASE | re.MULTILINE)
+reH4 = re.compile('^<h4>(.*?)</h4>', re.IGNORECASE | re.MULTILINE)
   
 def checkClassDetails(fullPath):
   """