Proof (counterexample of converse of regular pumping lemma)

Consider $Σ = \set{0,1}$, and if $w\in \mathbb{W}$ contains at least one $0$, write $\mathrm{tail}(w)$ for the number of $1$s in $w$ that follow the last occurring $0$ (e.g. $\mathrm{tail}(0101111) = 4$).

For any subset $X \subseteq \N$, define a language $L_X \subseteq \mathbb{W}$ by $w \in L_X$ iff either $w$ has no $0$, or $\mathrm{tail}(w) \in X$.

$L_X$ satisfies the pumping lemma with pumping number 2

Consider $w\in L_X$ with $|w|\geq 2$. Let $x = ε$, $y\in \set{0,1}$ be the first symbol of $w$, and $z$ such that $w = xyz$.

Two cases:

Exists non-regular language satisfying the pumping lemma

If $X,Y\subseteq \N$ are distinct, then $L_X \neq L_Y$. To see this, suppose $n\in X\setminus Y$. Then $10^n \in L_X \setminus L_Y$. Similarly for $n\in Y\setminus X$. Hence since there is uncountably many $X\subseteq \N$, there is uncountably many languages of the form $L_X$. However there are only countably many regular languages.