This code generates utilises a sliding window function to generate regex patterns. To use run python3 main.py. To test run pytest.