本页面有中文版。
Cette page est disponible en français.
Esta página está disponible en español.

/blog/ · field notes from the hunt

The Regex Hunter Blog

Guides, regex strategy and cheat sheets from Regex Hunter: practical articles on writing patterns that catch every target and spare the rest, with live examples.

Showing 13–16 of 16 posts · 16 total

/j|bu|oo/

jeffersonbuchananhoover·fremontdeweygore

Regex golf

xkcd regex golf: the puzzle behind comic 1313

How xkcd's regex golf comic started a puzzle genre, how Peter Norvig solved it, and where to play a new regex golf puzzle every day.

Regex Hunter logoRegex Hunter

/^c.*t/

cartchartcoat·scatcrab

Regex golf

Regex golf strategies: how to beat par

Seven techniques for writing the shortest regex that catches every target and spares the rest — with live boards you can solve right in the article.

Regex Hunter logoRegex Hunter

/cat|car|can/

catcarpet·cowdog

Announcements

Welcome to Regex Hunter — and the joy of regex golf

Match every monster, spare every innocent, and do it in as few characters as you can. Here's what the game is, why it's worth your time, and a first trick to shave your score.

Regex Hunter logoRegex Hunter

Today’s board is live

Read the trick. Now go hunt.

Match every monster, spare every innocent — in as few characters as you can.