dotnet/runtime

Consider supports the unicode-aware regular expressions in ECMAScript 2015

開放

#53,316 建立於 2021年5月26日

 (8 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
area-System.Text.RegularExpressionshelp wanted

倉庫指標

星標
 (17,886 顆星)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

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)

貢獻者指南