【Hexo】请教一下哪里写错了,应该怎么改

pwa:
  manifest:
    # Manifest 文件名和路径
    path: /manifest.json
  serviceWorker:
    # Service Worker 的文件名和路径
    path: /sw.js
    # 在 xxx 路径下,预加载的文章数
    preload:
      urls:
        - /
      posts: 5
    # 有关以下配置项,具体请查看:https://googlechromelabs.github.io/sw-toolbox/api.html#options
    opts:
      # 网络请求超时自动返回到缓存过的响应的时间
      networkTimeoutSeconds: 5
    routes:
      # 缓存你的静态资源,例如你使用了 webp 格式的图片,将其添加进来
      - pattern: !!js/regexp /.*\.(js|css|html|jpg|jpeg|png|svg|gif|json|xml|eot|ttf|woff|woff2)$/
        strategy: cacheFirst
      - pattern: !!js/regexp /\//
        strategy: networkFirst
      # 如果你想缓存 CDN 资源,请像下面这样进行设置
      - pattern: !!js/regexp /cdn.jsdelivr.net/
        strategy: cacheFirst
  # Hexo 插件的执行优先级(一般不用修改)
  priority: 5

在执行hexo clean时,显示 FATAL YAMLException: unknown tag !tag:yaml.org,2002:js/regexp (144:99)

img


使用的插件是hexo-pwa

标签不对