from html import escape import re def button(address): if not re.fullmatch(r'[a-zA-Z0-9]{14,90}', address): raise ValueError('invalid address characters') return 'Donate Bitcoin' if __name__ == '__main__': assert button('tb1qsyntheticfixture').startswith('