zuul/releasenotes/notes/pcre-deprecation-7be018a179588f8b.yaml
James E. Blair d4fac1a0e8 Register RE2 syntax errors as warnings
This adds a configuration warning (viewable in the web UI) for any
regular expressions found in in-repo configuration that can not
be compiled and executed with RE2.

Change-Id: I092b47e9b43e9548cafdcb65d5d21712fc6cc3af
2023-08-28 15:04:49 -07:00

16 lines
619 B
YAML

---
deprecations:
- |
Regular expressions using Python syntax are deprecated in favor of
RE2 syntax instead, for additional speed and safety. Negative
lookahead assertions may be replaced using the `negate` keyword.
See :ref:`regex` for more information.
If Zuul detects a regular expression using Python syntax that is not
supported by RE2, it will register a configuration syntax warning.
These may be viewed on the configuration errors page in the web
interface.
A future version of Zuul will remove Python regex support
completely and these warnings will become errors.