Hacker News new | past | comments | ask | show | jobs | submit login

This article is nearly two years old. Not that this isn't a great article, but people should probably know that these features aren't entirely new.



Hey, I’m the author of the article. Despite its age, it’s still accurate and up-to-date.

> these features aren't entirely new

Depends on what you mean by that. These features are still not universally supported by all modern browsers, for example, so I can imagine they’re still new to a lot of developers.

Chrome supports all these features (except for String#matchAll, which is currently at Stage 3). Other browsers don’t yet support the full set, but they’re all working on getting there.


I am also curious about which the the proposed features actually made it, and which did not.

- dotAll mode (the s flag)

- Lookbehind assertions

- Named capture groups

- Unicode property escapes

- String.prototype.matchAll

- Legacy RegExp features


I make sure to keep the article up-to-date. It correctly states the status for each of the features. They’re all part of ES2018 with the exception of String#matchAll which is currently at Stage 3.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: