Find a file
Stevie Strickland af5fc2d4d2 [VM] Partial support for named regexp captures.
See https://github.com/tc39/proposal-regexp-named-groups
for a high-level description of the feature and examples.  This is one of the
features requested in https://github.com/dart-lang/sdk/issues/34935.

This is a partial implementation because while there is a way to retrieve
groups via Dart by name, it requires casting the returned Match to the
new RegExpMatch interface to avoid changing the RegExp interface.
Changing the RegExp interface will happen in a future update, since there
are other planned changes to the RegExp interface coming soon and that way
we only change it once. See https://github.com/dart-lang/sdk/issues/36171
for more details on the planned changes.

Also, since only BMP regular expressions are supported, not full
Unicode ones (i.e., those with the /u flag in ECMAscript), \k<NAME>
will only be parsed as a named back reference if there are named
captures in the string. Otherwise, the \k will be parsed as the identity
escape for backwards compatibility. The new tests illustrate this
difference.

Change-Id: Ieeb0374813db78924c9aa8ac3e652dfb6d4a5934
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95461
Commit-Queue: Stevie Strickland <sstrickl@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2019-03-19 10:40:15 +00:00
.github Revert "Create new template for breaking changes" 2019-02-05 16:28:27 +00:00
build [infra] Make gclient sync quiet when nothing is updated. 2019-03-01 13:02:23 +00:00
client Remove old annotated_steps buildbot scripts and dispatcher 2017-05-23 16:17:02 +02:00
docs Update breaking-changes.md 2019-03-14 12:35:56 +00:00
pkg [VM] Partial support for named regexp captures. 2019-03-19 10:40:15 +00:00
runtime [VM] Partial support for named regexp captures. 2019-03-19 10:40:15 +00:00
samples Reland "[vm/ffi] Support Windows 64 bit" 2019-03-13 11:47:37 +00:00
samples-dev fix some typos 2018-10-10 19:15:30 +00:00
sdk [VM] Partial support for named regexp captures. 2019-03-19 10:40:15 +00:00
tests [VM] Partial support for named regexp captures. 2019-03-19 10:40:15 +00:00
third_party [infra] Upgrade gsutil to version 4.34 2019-01-22 16:58:58 +00:00
tools [gardening] Moving patch to be based on dart hash. 2019-03-18 16:18:55 +00:00
utils change the SummaryTarget to extend the DevCompilerTarget 2019-03-15 20:50:25 +00:00
.clang-format VM: Re-format to use at most one newline between functions 2017-07-13 08:08:37 -07:00
.gitattributes Remove the Dart 1 tests. 2018-10-11 23:45:18 +00:00
.gitconfig [infra] Add documentation to .gitconfig 2018-06-11 18:24:16 +00:00
.gitignore gitignore visual studio project files 2019-03-05 10:53:17 +00:00
.gn Starting work on full GN build 2016-09-23 07:47:36 -07:00
.mailmap fix my name in .mailmap 2018-09-11 01:45:52 +00:00
.packages Remove references to pkg:plugin in DEPS and .packages 2019-03-15 20:03:45 +00:00
.vpython [infra] Add .vpython spec to fix gsutil on the bots (#31065) 2018-10-11 15:11:35 +00:00
AUTHORS
BUILD.gn [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
CHANGELOG.md [VM] Partial support for named regexp captures. 2019-03-19 10:40:15 +00:00
codereview.settings Update codereview.settings to Gerrit (dart-review.googlesource.com) 2017-09-04 12:52:09 +00:00
CONTRIBUTING.md Change wiki link to follow contents moved. 2019-01-12 18:46:22 +00:00
DEPS bump linter to 0.1.83 2019-03-18 22:06:45 +00:00
LICENSE
PATENTS
PRESUBMIT.py Don't check formatting of Front-End test cases 2019-01-18 13:18:55 +00:00
README.dart-sdk
README.md [gardening] Whitespace change to trigger bots. 2017-04-28 10:08:58 -07:00
WATCHLISTS [vm/compiler] Add VM Compiler Team WATCHLIST 2018-11-23 10:24:02 +00:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

Visit the dartlang.org to learn more about the language, tools, getting started, and more.

Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.

Building Dart

If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.

There are more documents on our wiki.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License & patents

See LICENSE and PATENTS.