@@ -148,15 +148,15 @@ <h5>dart:core library</h5>
148
148
< a href ="http://ecma-international.org/ecma-262/5.1/#sec-15.10 "> ecma-international.org/ecma-262/5.1/#sec-15.10</ a >
149
149
for the specification of JavaScript regular expressions.</ p >
150
150
< p > < a href ="dart-core/RegExp/firstMatch.html "> firstMatch</ a > is the main implementation method that applies a regular
151
- expression to a string and returns the first < a href ="dart-core/Match -class.html "> Match </ a > . All
151
+ expression to a string and returns the first < a href ="dart-core/RegExpMatch -class.html "> RegExpMatch </ a > . All
152
152
other methods in < a href ="dart-core/RegExp-class.html "> RegExp</ a > can build on it.</ p >
153
153
< p > Use < a href ="dart-core/RegExp/allMatches.html "> allMatches</ a > to look for all matches of a regular expression in
154
154
a string.</ p >
155
155
< p > The following example finds all matches of a regular expression in
156
156
a string.</ p >
157
157
< pre class ="language-dart "> < code class ="language-dart "> RegExp exp = new RegExp(r"(\w+)");
158
158
String str = "Parse my string";
159
- Iterable<Match > matches = exp.allMatches(str);
159
+ Iterable<RegExpMatch > matches = exp.allMatches(str);
160
160
</ code > </ pre >
161
161
< p > Note the use of a < em > raw string</ em > (a string prefixed with < code > r</ code > )
162
162
in the example above. Use a raw string to treat each character in a string
@@ -183,7 +183,7 @@ <h2>Constructors</h2>
183
183
184
184
< dl class ="constructor-summary-list ">
185
185
< dt id ="RegExp " class ="callable ">
186
- < span class ="name "> < a href ="dart-core/RegExp/RegExp.html "> RegExp</ a > </ span > < span class ="signature "> (< span class ="parameter " id ="-param-source "> < span class ="type-annotation "> < a href ="dart-core/String-class.html "> String</ a > </ span > < span class ="parameter-name "> source</ span > , {</ span > < span class ="parameter " id ="-param-multiLine "> < span class ="type-annotation "> < a href ="dart-core/bool-class.html "> bool</ a > </ span > < span class ="parameter-name "> multiLine</ span > : < span class ="default-value "> false</ span > , </ span > < span class ="parameter " id ="-param-caseSensitive "> < span class ="type-annotation "> < a href ="dart-core/bool-class.html "> bool</ a > </ span > < span class ="parameter-name "> caseSensitive</ span > : < span class ="default-value "> true</ span > </ span > })</ span >
186
+ < span class ="name "> < a href ="dart-core/RegExp/RegExp.html "> RegExp</ a > </ span > < span class ="signature "> (< span class ="parameter " id ="-param-source "> < span class ="type-annotation "> < a href ="dart-core/String-class.html "> String</ a > </ span > < span class ="parameter-name "> source</ span > , {</ span > < span class ="parameter " id ="-param-multiLine "> < span class ="type-annotation "> < a href ="dart-core/bool-class.html "> bool</ a > </ span > < span class ="parameter-name "> multiLine</ span > : < span class ="default-value "> false</ span > , </ span > < span class ="parameter " id ="-param-caseSensitive "> < span class ="type-annotation "> < a href ="dart-core/bool-class.html "> bool</ a > </ span > < span class ="parameter-name "> caseSensitive</ span > : < span class ="default-value "> true</ span > , </ span > < span class ="parameter " id ="-param-unicode "> < span > @Since("2.4")</ span > < span class ="type-annotation "> < a href ="dart-core/bool-class.html "> bool</ a > </ span > < span class ="parameter-name "> unicode</ span > : < span class ="default-value "> false</ span > , </ span > < span class ="parameter " id ="-param-dotAll "> < span > @Since("2.4")</ span > < span class ="type-annotation "> < a href ="dart-core/bool-class.html "> bool</ a > </ span > < span class ="parameter-name "> dotAll</ span > : < span class ="default-value "> false</ span > </ span > })</ span >
187
187
</ dt >
188
188
< dd >
189
189
Constructs a regular expression. < a href ="dart-core/RegExp/RegExp.html "> [...]</ a >
@@ -203,6 +203,14 @@ <h2>Properties</h2>
203
203
< dd >
204
204
Whether this regular expression is case sensitive. < a href ="dart-core/RegExp/isCaseSensitive.html "> [...]</ a >
205
205
< div class ="features "> read-only</ div >
206
+ </ dd >
207
+ < dt id ="isDotAll " class ="property ">
208
+ < span class ="name "> < a href ="dart-core/RegExp/isDotAll.html "> isDotAll</ a > </ span >
209
+ < span class ="signature "> → < a href ="dart-core/bool-class.html "> bool</ a > </ span >
210
+ </ dt >
211
+ < dd >
212
+ Whether "." in this regular expression matches line terminators. < a href ="dart-core/RegExp/isDotAll.html "> [...]</ a >
213
+ < div class ="features "> @Since("2.4"), read-only</ div >
206
214
</ dd >
207
215
< dt id ="isMultiLine " class ="property ">
208
216
< span class ="name "> < a href ="dart-core/RegExp/isMultiLine.html "> isMultiLine</ a > </ span >
@@ -211,6 +219,14 @@ <h2>Properties</h2>
211
219
< dd >
212
220
Whether this regular expression matches multiple lines. < a href ="dart-core/RegExp/isMultiLine.html "> [...]</ a >
213
221
< div class ="features "> read-only</ div >
222
+ </ dd >
223
+ < dt id ="isUnicode " class ="property ">
224
+ < span class ="name "> < a href ="dart-core/RegExp/isUnicode.html "> isUnicode</ a > </ span >
225
+ < span class ="signature "> → < a href ="dart-core/bool-class.html "> bool</ a > </ span >
226
+ </ dt >
227
+ < dd >
228
+ Whether this regular expression is in Unicode mode. < a href ="dart-core/RegExp/isUnicode.html "> [...]</ a >
229
+ < div class ="features "> @Since("2.4"), read-only</ div >
214
230
</ dd >
215
231
< dt id ="pattern " class ="property ">
216
232
< span class ="name "> < a href ="dart-core/RegExp/pattern.html "> pattern</ a > </ span >
@@ -244,7 +260,7 @@ <h2>Methods</h2>
244
260
< dl class ="callables ">
245
261
< dt id ="allMatches " class ="callable ">
246
262
< span class ="name "> < a href ="dart-core/RegExp/allMatches.html "> allMatches</ a > </ span > < span class ="signature "> (< wbr > < span class ="parameter " id ="allMatches-param-input "> < span class ="type-annotation "> < a href ="dart-core/String-class.html "> String</ a > </ span > < span class ="parameter-name "> input</ span > , [</ span > < span class ="parameter " id ="allMatches-param-start "> < span class ="type-annotation "> < a href ="dart-core/int-class.html "> int</ a > </ span > < span class ="parameter-name "> start</ span > = < span class ="default-value "> 0</ span > </ span > ])
247
- < span class ="returntype parameter "> → < a href ="dart-core/Iterable-class.html "> Iterable</ a > < span class ="signature "> << wbr > < span class ="type-parameter "> < a href ="dart-core/Match -class.html "> Match </ a > </ span > ></ span > </ span >
263
+ < span class ="returntype parameter "> → < a href ="dart-core/Iterable-class.html "> Iterable</ a > < span class ="signature "> << wbr > < span class ="type-parameter "> < a href ="dart-core/RegExpMatch -class.html "> RegExpMatch </ a > </ span > ></ span > </ span >
248
264
</ span >
249
265
</ dt >
250
266
< dd >
@@ -253,7 +269,7 @@ <h2>Methods</h2>
253
269
</ dd >
254
270
< dt id ="firstMatch " class ="callable ">
255
271
< span class ="name "> < a href ="dart-core/RegExp/firstMatch.html "> firstMatch</ a > </ span > < span class ="signature "> (< wbr > < span class ="parameter " id ="firstMatch-param-input "> < span class ="type-annotation "> < a href ="dart-core/String-class.html "> String</ a > </ span > < span class ="parameter-name "> input</ span > </ span > )
256
- < span class ="returntype parameter "> → < a href ="dart-core/Match -class.html "> Match </ a > </ span >
272
+ < span class ="returntype parameter "> → < a href ="dart-core/RegExpMatch -class.html "> RegExpMatch </ a > </ span >
257
273
</ span >
258
274
</ dt >
259
275
< dd >
@@ -352,7 +368,9 @@ <h2>Static Methods</h2>
352
368
< a href ="dart-core/RegExp-class.html#instance-properties "> Properties</ a >
353
369
</ li >
354
370
< li > < a href ="dart-core/RegExp/isCaseSensitive.html "> isCaseSensitive</ a > </ li >
371
+ < li > < a href ="dart-core/RegExp/isDotAll.html "> isDotAll</ a > </ li >
355
372
< li > < a href ="dart-core/RegExp/isMultiLine.html "> isMultiLine</ a > </ li >
373
+ < li > < a href ="dart-core/RegExp/isUnicode.html "> isUnicode</ a > </ li >
356
374
< li > < a href ="dart-core/RegExp/pattern.html "> pattern</ a > </ li >
357
375
< li class ="inherited "> < a href ="dart-core/Object/hashCode.html "> hashCode</ a > </ li >
358
376
< li class ="inherited "> < a href ="dart-core/Object/runtimeType.html "> runtimeType</ a > </ li >
0 commit comments