What Pokemon is it?

It’s weird that I’m a fan of Pokemon but I don’t have any entry about it in this blog. So here goes the first entry.

The following regex expression scores precisely one match in the set of all 649 names of Pokemon. (Hopefully; at least it scores precisely one match among all Pokemon names I remember.) What is it? (Case insensitive.)
(j|q|x|z).+\1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s