grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ´i$ã@s>dZddlZdgZe d¡Zdd„Zdd„Zedkr:eƒdS) z! Generic dylib path manipulation éNÚ dylib_infoz‹(?x) (?P^.*)(?:^|/) (?P (?P\w+?) (?:\.(?P[^._]+))? (?:_(?P[^._]+))? \.dylib$ ) cCst |¡}|sdS| ¡S)a1 A dylib name can take one of the following four forms: Location/Name.SomeVersion_Suffix.dylib Location/Name.SomeVersion.dylib Location/Name_Suffix.dylib Location/Name.dylib returns None if not found or a mapping equivalent to: dict( location='Location', name='Name.SomeVersion_Suffix.dylib', shortname='Name', version='SomeVersion', suffix='Suffix', ) Note that SomeVersion and Suffix are optional and may be None if not present. N)ÚDYLIB_REÚmatchÚ groupdict)ÚfilenameZis_dylib©rú-/usr/lib64/python3.9/ctypes/macholib/dylib.pyrs cCsddd„}dS)NcSst|||||d�S)N©ÚlocationÚnameZ shortnameÚversionÚsuffix)Údictr rrrÚd.sûztest_dylib_info..d)NNNNNr)rrrrÚtest_dylib_info-s rÚ__main__)Ú__doc__ÚreÚ__all__ÚcompilerrrÚ__name__rrrrÚs