regular-expressions add log