errata-ai / Microsoft

A Vale-compatible implementation of the Microsoft Writing Style Guide.
https://github.com/errata-ai/vale
MIT License
85 stars 46 forks source link

E201 Invalid value provided in `Microsoft/Foreign.yml` #51

Closed stevepiercy closed 1 year ago

stevepiercy commented 1 year ago
E201 Invalid value provided [/home/runner/work/training/training/styles/Microsoft/Foreign.yml:12:4]:

  11    '\b(?:ie|i\.e\.)[\s,]': that is
  12*   '\b(viz\.)[\s,]': namely
  13    '\b(ergo)[\s,]': therefore

capture group not supported; use '(?:' instead of '('

This appears to be a regression from https://github.com/errata-ai/Microsoft/commit/0abd1cd22350d70742baefdfb6e0141b1dbc2f70

Refs: https://github.com/plone/training/actions/runs/4935436465/jobs/8821736560?pr=761#step:6:22