fix MemoryIndex false positive failure

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378271 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-08-28 19:03:42 +00:00
parent 18fe854d86
commit 1fb282a4cb
1 changed files with 2 additions and 2 deletions

View File

@ -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):
"""