TehShrike/regex-fun

either vs any

m59peacemaker opened this issue · 2 comments

How do you feel about changing either to any? When passing more than two values to either, it reads oddly.

oh huh, yeah, I didn't think of it that way... in English, "either X or Y or Z" sounds fine, but as a function/without the "or", it does seem awkward doesn't it.

any seems fine to me?

maybe anyOf?