You should try below.
SELECT dbms_metadata.get_ddl('PASSWORD_VERIFY_FUNCTION','ORA_COMPLEXITY_CHECK','SYS') from dual;