~/talk

Regex-Fu

Talkat Codemotion Amsterdam 2018 · 2018-05-08..05-09· [developer-experience]
links:none on file
slides:none on file

Concrete rules for using regular expressions with PCRE: which modifiers change matching, how greedy quantifiers and misplaced captures explode memory and backtracking, and why word classes like \w behave differently under locales and Unicode. Demonstrates escaping user input with language-specific escape functions, validating versus matching (use whitelist vs blacklist), avoiding recursion, and always testing in the same engine. Recommends live testing on regex101 and checking ECMAScript/JavaScript and POSIX engine differences.

AI-written summary · about

  1. 0:00Introduction to regex
  2. 5:02Regex engines and variations
  3. 10:21Regex basics and syntax
  4. 15:41Character classes and boundaries
  5. 20:59Localization in regex
  6. 25:33Escaping special characters
  7. 29:12Regex modifiers
  8. 32:07Testing and debugging regex
  9. 35:45Local settings and implementations
  10. 37:15Q&A and closing
~/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.