~/talk

RegExp.prototype.unicode

Talkat JSFoo 2015 · on Friday, 2015-09-18· [web-platform, javascript]
slides:none on file

ES6 adds a U flag that actually changes RegExp behavior: it enables Unicode code point escapes, makes dot and quantifiers treat astral code points as single symbols, fixes character-class ranges and negation, and applies Unicode case folding when combined with I. A transpiler/polyfill approach (using tools like regenerate and existing Babel/Traceur support) converts U-aware regexes to ES5 equivalents so code runs now across browsers.

AI-written summary · about

  1. 0:00Start
  2. 0:33What Is Unicode
  3. 1:38Latin Small Letter a
  4. 2:53The Basic Multilingual Plane
  5. 3:31Astral Planes
  6. 10:20Quantifiers
  7. 13:09Character Class Ranges
  8. 13:37Syntax Error
  9. 14:23Negated Character Classes
  10. 15:20Character Class Escapes
  11. 17:41Gaze Folding
  12. 21:03Browser Support
  13. 22:50Explain How Regexp Works Internally
  14. 29:08Summary
  15. 38:13Internal Encoding
~/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.