def chars_surround(chars, match):
 return (chars_before(chars, match) and chars_after(chars, match))

def chars_surround ( chars , match ) : return ( chars_before ( chars , match ) and chars_after ( chars , match ) )
validate the match if surrounding characters are in a given sequence .