Catch lines that are comments: # or // first, after any leading spaces.
Text⚡⚡⚡⚡⚡
Text⚡⚡⚡⚡⚡
Catch · 0/5
· space→ tab- #·noteTarget
- #xTarget
- //·todoTarget
- ··#·indentedTarget
- //doneTarget
Spare · 0 hit
- a·#·bInnocent
- n//2Innocent
- http://xInnocent
- code()Innocent
- x·=·1Innocent
Your pattern
About this pack
Intermediate · 6 levels
Line wrangling is everyday text work: the checks you write when you clean up files, lint code or read logs. Most boards look at a whole line at once, so ^ and $ do a lot of the work, along with classes for spaces and tabs.
You catch comment lines like # note or // todo, lines that hold only spaces or tabs, file names with an extension like img.png, and CSV rows with exactly three filled fields, so a,b,c is caught and a,,c is spared. The last boards catch mentions like hi @bob but spare an email address like email@site, then lines that end in stray whitespace.
Every level also has hidden checks: words you don’t see. Passing the words on screen solves a level; passing the hidden checks too ranks it.
For more text from the real world, try Logs & ops. The Anchors & boundaries track explains how ^ and $ behave when text has several lines.