~/talk

Regular expressions my secret love

Talkat dotJS 2019 · 2019-12-05..12-06· [javascript]

Walks through concrete regex tricks and shows what actually changes results: use non-capturing groups to stop unwanted array entries, name captures with (?<name>...) and use \k<name> to backreference by name so repeated words like "Bonjour Bonjour" match, add the s dotall flag* so . finally matches newlines, and use Unicode property escapes like \p{Emoji} to detect emoji. Mentions lookbehind, String.prototype.matchAll, and replacement functions with $ and that these features work as demonstrated.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Regular Expression
  3. 0:46Exit Method
~/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.