Noticed that when inspecting exec result at runtime. Was very useful for one of my side projects where I built a better in-page text search as Chrome extension
-
-
-
Where did you see this? It hasn't shipped yet!
End of conversation
New conversation -
-
-
But still no named capturing groups

-
Did you read the article? There’s an example that uses named capture groups! Also see https://mathiasbynens.be/notes/es-regexp-proposals#named-capture-groups …
- 1 more reply
New conversation -
-
-
thrilled with this! RegExp keeps getting more and more friendly to lexing
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
where is the variable start and end? ... i’ll still read your article ... great work!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I needed this, in node
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What's a good emoji for the face I make every time I hear "powerful regex"... hmm...
Probably this sequence:


Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
JavaScript regular expressions are getting more powerful!
RegExp match objects now have an `indices` array that contains the start and end positions for each capturing group.