regex theory seems ok