hippietrail
hippietrail

Reputation: 17004

How can I find out which JavaScript engines/platforms support which features of ES6 Unicode regular expressions?

I often work with many human languages and writing systems and I try to use the most modern features of JavaScript that I can.

I often find I would like to use modern Unicode regular expression such as Unicode Property Escapes:

/\p{L}/

It seems that though many JS platforms are including more and more ES6 features, these Unicode regex features are lagging behind.

How can I found out which engines/platforms support which of these features? By "platform" I include things like transpilers.

I'm aware of the excellent XRegExp for a great workaround, but how can I monitor/track this support getting included natively in the various JS implementations?

I suppose something like Can I use might be what I'm looking for. But maybe something that tracks ES6 support, that tracks Unicode support, or that tracks regular expression support might also exist? Or maybe there are various bug reports and feature requests I can subscribe to?

Upvotes: 3

Views: 251

Answers (2)

user943702
user943702

Reputation: 954

compat-table for RegExp_Unicode_Property_Escapes feature

Some related features

Upvotes: 2

hippietrail
hippietrail

Reputation: 17004

In lieu of a full centralized resource, here's the issue/feature trackers I've been able to locate so far at least for Unicode property escapes in regular expressions:

Upvotes: 1

Related Questions