moved regex compilation to __init__