| 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; | 5 part of dart.core; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * A result from searching within a string. | 8 * A result from searching within a string. |
| 9 * | 9 * |
| 10 * A Match or an [Iterable] of Match objects is returned from [Pattern] | 10 * A Match or an [Iterable] of Match objects is returned from [Pattern] |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 * which is also the maximal allowed argument to the [group] method. | 79 * which is also the maximal allowed argument to the [group] method. |
| 80 */ | 80 */ |
| 81 int get groupCount; | 81 int get groupCount; |
| 82 | 82 |
| 83 /** | 83 /** |
| 84 * The string on which this match was computed. | 84 * The string on which this match was computed. |
| 85 */ | 85 */ |
| 86 String get input; | 86 String get input; |
| 87 | 87 |
| 88 /** | 88 /** |
| 89 * Deprecated alias for [input]. | |
| 90 * | |
| 91 * Will be removed soon. | |
| 92 */ | |
| 93 @deprecated | |
| 94 String get str; | |
| 95 | |
| 96 /** | |
| 97 * The pattern used to search in [input]. | 89 * The pattern used to search in [input]. |
| 98 */ | 90 */ |
| 99 Pattern get pattern; | 91 Pattern get pattern; |
| 100 } | 92 } |
| 101 | 93 |
| 102 | 94 |
| 103 /** | 95 /** |
| 104 * A regular expression pattern. | 96 * A regular expression pattern. |
| 105 * | 97 * |
| 106 * Regular expressions are [Pattern]s, and can as such be used to match strings | 98 * Regular expressions are [Pattern]s, and can as such be used to match strings |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 164 |
| 173 /** | 165 /** |
| 174 * Whether this regular expression is case sensitive. | 166 * Whether this regular expression is case sensitive. |
| 175 * | 167 * |
| 176 * If the regular expression is not case sensitive, it will match an input | 168 * If the regular expression is not case sensitive, it will match an input |
| 177 * letter with a pattern letter even if the two letters are different case | 169 * letter with a pattern letter even if the two letters are different case |
| 178 * versions of the same letter. | 170 * versions of the same letter. |
| 179 */ | 171 */ |
| 180 bool get isCaseSensitive; | 172 bool get isCaseSensitive; |
| 181 } | 173 } |
| OLD | NEW |