mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 13:18:01 +00:00
5ebb640a67
This work pulls in v8 support for these features with appropriate changes for Dart and closes https://github.com/dart-lang/sdk/issues/34935. This adds support for the following features: * Interpreting patterns as Unicode patterns instead of BMP patterns * the dotAll flag (`/s`) for changing the behavior of '.' to also match line terminators * Escapes for character classes described by Unicode property groups (e.g., \p{Greek} to match all Greek characters, or \P{Greek} for all non-Greek characters). The following TC39 proposals describe some of the added features: * https://github.com/tc39/proposal-regexp-dotall-flag * https://github.com/tc39/proposal-regexp-unicode-property-escapes These additional changes are included: * Extends named capture group names to include the full range of identifier characters supported by ECMAScript, not just ASCII. * Changing the RegExp interface to return RegExpMatch objects, not Match objects, so that downcasting is not necessary to use named capture groups from Dart **Note**: The changes to the RegExp interface are a breaking change for implementers of the RegExp interface. Current users of the RegExp interface (i.e., code using Dart RegExp objects) will not be affected. Change-Id: I0709ed0a8d5db36680e32bbad585594857b9ace4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95651 Commit-Queue: Stevie Strickland <sstrickl@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
config | ||
dart | ||
linux | ||
mac | ||
sanitizers | ||
secondary/third_party/android_tools | ||
toolchain | ||
win | ||
.gitignore | ||
detect_host_arch.py | ||
executable_suffix.gni | ||
gn_helpers.py | ||
gn_run_binary.py | ||
README.dart.md | ||
vs_toolchain.py |
This directory was taken from a snapshot of flutter/engine/src/build/.
The snapshot was taken with a recursive copy cp -R
of the directory from
the flutter repository.
The contents has now diverged significantly from Flutter, and is maintained independantly by the Dart team. It is used to support the GN build system.