| 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 class JSSyntaxRegExp implements RegExp { | 5 class JSSyntaxRegExp implements RegExp { |
| 6 external const JSSyntaxRegExp(String pattern, | 6 external const JSSyntaxRegExp(String pattern, |
| 7 [bool multiLine, bool ignoreCase]); | 7 [bool multiLine, bool ignoreCase]); |
| 8 external Match firstMatch(String str); | 8 external Match firstMatch(String str); |
| 9 external Iterable<Match> allMatches(String str); | 9 external Iterable<Match> allMatches(String str); |
| 10 external bool hasMatch(String str); | 10 external bool hasMatch(String str); |
| 11 external String stringMatch(String str); | 11 external String stringMatch(String str); |
| 12 external String get pattern(); | 12 external String get pattern; |
| 13 external bool get multiLine(); | 13 external bool get multiLine; |
| 14 external bool get ignoreCase(); | 14 external bool get ignoreCase; |
| 15 } | 15 } |
| OLD | NEW |