include full-width numerals in number regex

This commit is contained in:
xenofem 2024-02-08 04:54:36 -05:00
parent b7f9099fc0
commit d06ea132af

View file

@ -20,7 +20,7 @@ from PIL import Image
from jinja2 import Environment, PackageLoader, select_autoescape from jinja2 import Environment, PackageLoader, select_autoescape
import requests import requests
NUMBER_REGEX = re.compile('[0-9]+') NUMBER_REGEX = re.compile('[0-9-]+')
DLSITE_ID_REGEX = re.compile('^[BR]J[0-9]+$') DLSITE_ID_REGEX = re.compile('^[BR]J[0-9]+$')
FANZA_ID_REGEX = re.compile('^d_[0-9]+$') FANZA_ID_REGEX = re.compile('^d_[0-9]+$')