match_idn()#

match_idn(idn: str) → DriverMatch | None[source]#

Match an *IDN? reply against every registered driver’s IdnPattern.

Returns the first match in registry order, or None when no in-tree driver claims the identity.