services.base: Unescape HTML entities if using regex