dotnet/runtime

Consider supports the unicode-aware regular expressions in ECMAScript 2015

Open

#53.316 aberto em 26 de mai. de 2021

Ver no GitHub
 (8 comments) (0 reactions) (0 assignees)C# (5.445 forks)batch import
area-System.Text.RegularExpressionshelp wanted

Métricas do repositório

Stars
 (17.886 stars)
Métricas de merge de PR
 (Mesclagem média 12d 11h) (661 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe.

Not so long ago there was an issue where it was told about RegularExpressionAttribute problems. This eventually led to a clarification in the documentation.

(By the way, it ended up in the wrong section. Therefore, in the documentation, we see it only for a version below aspnetcore-3.0)

But, ECMAScript 2015 does support language elements such as the Unicode category or block elements \p and \P. Now we have to write workarounds. See this SO-answer.

(If I understand correctly, this is now supported by all browsers in this table, except Konq 4.14 and IE 11)

Guia do colaborador