citationMarkerPattern top-level constant
String
const citationMarkerPattern
Canonical [n] citation marker pattern (§1 of the citations spec) — the
single source of truth for both CitationSyntax's markdown match and any
plain-text existence check (e.g. "does this turn's text contain a
citation?", used to decide whether to schedule a grounding refetch).
Implementation
const String citationMarkerPattern = r'\[(\d+)\]';