What to Expect from Regular Expressions in JavaScript with ECMAScript 2018

Home » Blog » Software » Front End Development » What to Expect from Regular Expressions in JavaScript with ECMAScript 2018
Regular expressions have been supported in JavaScript since 1999 and ECMAScript 2015 added a few minor improvements such as RegExp.prototype.flags and RegExp.prototype.sticky.

While JavaScript probably will never be thought of as the prototypical language for working with regular expressions, especially in an idiomatic way (that award still goes to Perl, after all …), regular expression in JavaScript are quite usable and useful.

In early 2017, V8 developer Mathias Bynen wrote about upcoming (proposed at the time) changes within ECMAScript 2018 that further improve upon JavaScript’s regular expression support. Now, that ECMAScript 2018 has been finalised for more than a few months and browser vendors might have started adopting these features by the time this post goes online it’s worth looking at these new features again.

About the author: Bjoern
Entrepreneur

Leave a Comment

*

I agree