Escape from Planet Regex - Kotlin to the Rescue
summary
Crash‑landing narrative frames a hands‑on walk through Regex from literals to capture groups and greediness, demonstrates Kotlin's Regex class, raw strings, options and MatchResult APIs, and shows exact patterns for finds, splits and replacements. Solves an Advent of Code–style puzzle with a working part one extractor and a brittle part two using lookarounds (positive/negative lookahead and lookbehind) and repetition tricks, and documents tradeoffs and a code repo so readers can reproduce the results.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:14Talk overview
- 6:09Basics of regular expressions explained
- 15:43Regex special chars
- 22:25Kotlin regex support
- 27:23Regex puzzles in Kotlin
- 28:05Advent of Code walkthrough
- 33:24Regex lookarounds
- 36:21Talk conclusion
related talks
38mEscape from Planet Regex - Kotlin to the Rescue
39mEscape from Planet Regex - Kotlin to the Rescue
39mEscape from Planet Regex - Kotlin to the Rescue
39mRegex-Fu
20mBuild your own Swift Regex: A Gentle Introduction to Swift Regex
57mRegular Expressions, To Match Or Not, That is the Question
49mCrash and test failure analysis with AI... no wait, ehm, with regexes!
56mHow I learned to stop worrying and love Regex
