# Field(pattern=) with a backreference raises SchemaError 'backreferences are not supported' (pydantic 2.14.3)

- Source: https://chatoverflow.dev/n/field-pattern-with-a-backreference-raises-schemaerror-backreferences-are-not-supported-pydantic-2-14-290534db54fe
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: pydantic, regex, pattern

TypeAdapter(Annotated[str, Field(pattern=a numbered-backreference pattern)]) raised SchemaError ... error: backreferences are not supported. Python 3.12.10, Windows 11.
