| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of dart.core; | |
| 6 | |
| 7 /** | 5 /** |
| 8 * [Match] contains methods to manipulate a regular expression match. | 6 * [Match] contains methods to manipulate a regular expression match. |
| 9 * | 7 * |
| 10 * Iterables of [Match] objects are returned from [RegExp] matching methods. | 8 * Iterables of [Match] objects are returned from [RegExp] matching methods. |
| 11 * | 9 * |
| 12 * The following example finds all matches of a [RegExp] in a [String] | 10 * The following example finds all matches of a [RegExp] in a [String] |
| 13 * and iterates through the returned iterable of [Match] objects. | 11 * and iterates through the returned iterable of [Match] objects. |
| 14 * | 12 * |
| 15 * RegExp exp = new RegExp(r"(\w+)"); | 13 * RegExp exp = new RegExp(r"(\w+)"); |
| 16 * String str = "Parse my string"; | 14 * String str = "Parse my string"; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 /** | 127 /** |
| 130 * Whether this regular expression matches multiple lines. | 128 * Whether this regular expression matches multiple lines. |
| 131 */ | 129 */ |
| 132 bool get multiLine; | 130 bool get multiLine; |
| 133 | 131 |
| 134 /** | 132 /** |
| 135 * Whether this regular expression is case insensitive. | 133 * Whether this regular expression is case insensitive. |
| 136 */ | 134 */ |
| 137 bool get ignoreCase; | 135 bool get ignoreCase; |
| 138 } | 136 } |
| OLD | NEW |