ó +¢µRc@sgddlZddlZddlmZddlmZd„Zd„Zdejfd„ƒYZdS(iÿÿÿÿN(tcopy(t parse_vrangecCs9yt|ƒSWn$tk r4tjd|ƒ‚nXdS(Nsversion range is invalid: %s(Rt ValueErrortoptparsetOptionValueError(toptiontopttvalue((s%/usr/share/python/debpython/option.pytparse_version_ranges cCs:ytj|ƒ}Wn tk r5tjdƒ‚nX|S(Nsregular expression is not valid(tretcompilet ExceptionRR(RRRtpattern((s%/usr/share/python/debpython/option.pytcompile_regexpr#s  tOptioncBs>eZejjdZeejjƒZeeds