def chars_after(chars, match):
 if (match.end >= len(match.input_string)):
  return True
 return (match.input_string[match.end] in chars)

def chars_after ( chars , match ) : if ( match . end >= len ( match . input_string ) ) : return True return ( match . input_string [ match . end ] in chars )
validate the match if right character is in a given sequence .