def ExtractIdentifiersFromText( text, filetype = None ): return re.findall( IdentifierRegexForFiletype( filetype ), text )