~/talk

Escape from Planet Regex - Kotlin to the Rescue

Talkat droidcon London 2025 · 2025-10-30..10-31· [kotlin]
slides:none on file

Walks through Reax from literals and flags to greedy vs lazy quantifiers, character classes, capture groups and lookarounds, then shows exact Cotlin code: using Cotlin's Regex class with raw triple‑quoted strings to avoid escaping, findAll vs find, MatchResult groups/destructuring, and a practical Advent of Code solution that uses a complex lookaround to include "do" but exclude "don't". Examples run and extract numbers (amount/hour) so you can copy the pattern and the Cotlin extraction code verbatim.

AI-written summary · about

  1. 0:00Planet Reax crisis
  2. 3:20Captain Cadell and USS Singleton
  3. 6:10Regular expressions basics
  4. 9:39Special regex characters
  5. 11:25Occurrence indicators
  6. 14:13Anchors and multi-line mode
  7. 15:59Character sets and negations
  8. 18:05Alternation and selection
  9. 19:30Character classes
  10. 20:11Capture groups
  11. 23:44K7’s compromise
  12. 24:07Kotlin Regex class
  13. 25:33Regex functions in Kotlin
  14. 27:42Destructuring capture groups
  15. 29:48Alien console challenge
  16. 31:14Lookarounds
  17. 34:22Complex regex problems
  18. 36:47K7’s sacrifice
  19. 37:29Closing remarks
~/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.