Regular Expression group division problem - Stack Overflow
Mathias Bynens on Twitter: "🔥 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. @MayaLekova