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 |
5 /** | 7 /** |
6 * [Match] contains methods to manipulate a regular expression match. | 8 * [Match] contains methods to manipulate a regular expression match. |
7 * | 9 * |
8 * Iterables of [Match] objects are returned from [RegExp] matching methods. | 10 * Iterables of [Match] objects are returned from [RegExp] matching methods. |
9 * | 11 * |
10 * The following example finds all matches of a [RegExp] in a [String] | 12 * The following example finds all matches of a [RegExp] in a [String] |
11 * and iterates through the returned iterable of [Match] objects. | 13 * and iterates through the returned iterable of [Match] objects. |
12 * | 14 * |
13 * RegExp exp = new RegExp(r"(\w+)"); | 15 * RegExp exp = new RegExp(r"(\w+)"); |
14 * String str = "Parse my string"; | 16 * String str = "Parse my string"; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 /** | 129 /** |
128 * Whether this regular expression matches multiple lines. | 130 * Whether this regular expression matches multiple lines. |
129 */ | 131 */ |
130 bool get multiLine; | 132 bool get multiLine; |
131 | 133 |
132 /** | 134 /** |
133 * Whether this regular expression is case insensitive. | 135 * Whether this regular expression is case insensitive. |
134 */ | 136 */ |
135 bool get ignoreCase; | 137 bool get ignoreCase; |
136 } | 138 } |
OLD | NEW |