bingo/util.py
2020-01-15 19:27:42 -05:00

5 lines
79 B
Python

def is_valid_id(s: str):
return all(c.isalnum() or c in "_-" for c in s)