re = pyimport "re" .get_file_dirname!: () => Str .path_join: (__a: Str, path: Str) => Str .str_slice: (str: Str, first_index: Nat) => Str ''' ! this is unsafe ''' .eliminate_none_on_match: (matched: re.Match or NoneType) -> {.matched = re.Match; .is_none = Bool}