remove global regex dependencies