It is common practive to accept almost all variants of "yEs" and "nO" in such questions. I suggest a regexp like:

```^\([Yy][Ee]\?[Ss]\?\|[Nn][Oo]\?\)$```