@decorators.memoize
def _supports_regex():
 return (tuple([int(i) for i in _get_version()]) > (0, 5))

@ decorators . memoize def _supports_regex ( ) : return ( tuple ( [ int ( i ) for i in _get_version ( ) ] ) > ( 0 , 5 ) )
check support of regexp .