def extractTextTagContent(page):
 page = (page or '')
 if (REFLECTED_VALUE_MARKER in page):
  try:
   page = re.sub(('(?i)[^\\s>]*%s[^\\s<]*' % REFLECTED_VALUE_MARKER), '', page)
  except MemoryError:
   page = page.replace(REFLECTED_VALUE_MARKER, '')
 return filter(None, (_.group('result').strip() for _ in re.finditer(TEXT_TAG_REGEX, page)))

def extractTextTagContent ( page ) : page = ( page or '' ) if ( REFLECTED_VALUE_MARKER in page ) : try : page = re . sub ( ( '(?i)[^\\s>]*%s[^\\s<]*' % REFLECTED_VALUE_MARKER ) , '' , page ) except MemoryError : page = page . replace ( REFLECTED_VALUE_MARKER , '' ) return filter ( None , ( _ . group ( 'result' ) . strip ( ) for _ in re . finditer ( TEXT_TAG_REGEX , page ) ) )
returns list containing content from "textual" tags .