remove regex dependency / old docs