For a cardinal $\kappa$ by $[\kappa]^{<\kappa}$ we denote the family of all subsets of cardinality $<\kappa$ in $\kappa$.
Question. Assume that for an infinite cardinal $\kappa$ there exists a family $\mathcal B\subset[\kappa]^{<\kappa}$ of cardinality $|\mathcal B|=\kappa$ such that for any $A\in[\kappa]^{<\kappa}$ the set $\{B\in\mathcal B:A\not\subset B\}$ has cardinality $<\kappa$. Is $\kappa$ a regular cardinal?