Chromium Code Reviews| Index: lib/core/regexp.dart |
| diff --git a/lib/core/regexp.dart b/lib/core/regexp.dart |
| index a301785095ba48183e203b9d7c683bf3f66e7fdc..608d0aa12ce45e3276dc00fff7fefa6b6ae0a726 100644 |
| --- a/lib/core/regexp.dart |
| +++ b/lib/core/regexp.dart |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| @@ -69,6 +69,10 @@ abstract class Match { |
| /** |
| * [RegExp] represents regular expressions. |
| * |
| + * Dart regular expressions have the same syntax and semantics as |
| + * JavaScript regular expressions. See <http://es5.github.com/#x15.10> |
|
Lasse Reichstein Nielsen
2012/09/17 11:03:14
JavaScript -> ECMAScript.
The es5.github.com page
Mads Ager (google)
2012/09/17 11:42:22
Thanks! Updated.
|
| + * for the specification of JavaScript regular expressions. |
| + * |
| * [firstMatch] is the main implementation method that applies a regular |
| * expression to a string and returns the first [Match]. All |
| * other methods in [RegExp] can build on it. |