import numpy as np from numpy.typing import ArrayLike import re numbers_pattern = re.compile(r'((?:(?