~/talk

Escape from Planet Regex - Kotlin to the Rescue

Talkat AndroidMakers by droidcon 2025 · on Thursday, 2025-04-10· at 16:20· [kotlin, developer-experience]
slides:none on file

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

  1. 0:00Introduction
  2. 3:14Talk overview
  3. 6:09Basics of regular expressions explained
  4. 15:43Regex special chars
  5. 22:25Kotlin regex support
  6. 27:23Regex puzzles in Kotlin
  7. 28:05Advent of Code walkthrough
  8. 33:24Regex lookarounds
  9. 36:21Talk conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.