<s> import re <EOL> from . base import Base <EOL> class Filter ( Base ) : <EOL> def __init__ ( self , vim ) : <EOL> Base . __init__ ( self , vim ) <EOL> self . name = '<STR_LIT>' <EOL> self . description = '<STR_LIT>' <EOL> def filter ( self , context ) : <EOL> p1 = re . compile ( '<STR_LIT>' ) <EOL> p2 = re . compile ( '<STR_LIT>' ) <EOL> for candidate in [ <EOL> x for x in context [ '<STR_LIT>' ] <EOL> if not p1 . search ( x [ '<STR_LIT>' ] ) and <EOL> ( ( '<STR_LIT>' in x and p2 . search ( x [ '<STR_LIT>' ] ) ) or <EOL> ( '<STR_LIT:info>' in x and p2 . search ( x [ '<STR_LIT:info>' ] ) ) ) ] : <EOL> candidate [ '<STR_LIT>' ] += '<STR_LIT:(>' <EOL> return context [ '<STR_LIT>' ] </s>
