The regex used will only match strings with 9 or 10 digits:

~~~
EVENTBRITE_PATTERN = r'\d{9,10}'
~~~