| 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 /** | 5 /** |
| 6 * [Match] contains methods to manipulate a regular expression match. | 6 * [Match] contains methods to manipulate a regular expression match. |
| 7 * | 7 * |
| 8 * Iterables of [Match] objects are returned from [RegExp] matching methods. | 8 * Iterables of [Match] objects are returned from [RegExp] matching methods. |
| 9 * | 9 * |
| 10 * 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] |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 * Returns the number of groups in the regular expression. | 53 * Returns the number of groups in the regular expression. |
| 54 */ | 54 */ |
| 55 int get groupCount; | 55 int get groupCount; |
| 56 | 56 |
| 57 /** | 57 /** |
| 58 * The string on which this matcher was computed. | 58 * The string on which this matcher was computed. |
| 59 */ | 59 */ |
| 60 String get str; | 60 String get str; |
| 61 | 61 |
| 62 /** | 62 /** |
| 63 * The pattern to search for in [str]. | 63 * The pattern used to search in [str]. |
| 64 */ | 64 */ |
| 65 Pattern get pattern; | 65 Pattern get pattern; |
| 66 } | 66 } |
| 67 | 67 |
| 68 | 68 |
| 69 /** | 69 /** |
| 70 * [RegExp] represents regular expressions. | 70 * [RegExp] represents regular expressions. |
| 71 * | 71 * |
| 72 * Dart regular expressions have the same syntax and semantics as | 72 * Dart regular expressions have the same syntax and semantics as |
| 73 * JavaScript regular expressions. See | 73 * JavaScript regular expressions. See |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 /** | 127 /** |
| 128 * Whether this regular expression matches multiple lines. | 128 * Whether this regular expression matches multiple lines. |
| 129 */ | 129 */ |
| 130 bool get multiLine; | 130 bool get multiLine; |
| 131 | 131 |
| 132 /** | 132 /** |
| 133 * Whether this regular expression is case insensitive. | 133 * Whether this regular expression is case insensitive. |
| 134 */ | 134 */ |
| 135 bool get ignoreCase; | 135 bool get ignoreCase; |
| 136 } | 136 } |
| OLD | NEW |