Index: tests/corelib_strong/regexp/captures_test.dart |
diff --git a/tests/corelib_strong/regexp/captures_test.dart b/tests/corelib_strong/regexp/captures_test.dart |
index be91e2bc6456cd2a378d9f74e2cad48896c3c587..c7aa44b561ceba22458070c51f218bb37fd4a6fd 100644 |
--- a/tests/corelib_strong/regexp/captures_test.dart |
+++ b/tests/corelib_strong/regexp/captures_test.dart |
@@ -30,7 +30,8 @@ import 'v8_regexp_utils.dart'; |
import 'package:expect/expect.dart'; |
void main() { |
- var re = new RegExp(r"^(((N({)?)|(R)|(U)|(V)|(B)|(H)|(n((n)|(r)|(v)|(h))?)|(r(r)?)|(v)|(b((n)|(b))?)|(h))|((Y)|(A)|(E)|(o(u)?)|(p(u)?)|(q(u)?)|(s)|(t)|(u)|(w)|(x(u)?)|(y)|(z)|(a((T)|(A)|(L))?)|(c)|(e)|(f(u)?)|(g(u)?)|(i)|(j)|(l)|(m(u)?)))+"); |
+ var re = new RegExp( |
+ r"^(((N({)?)|(R)|(U)|(V)|(B)|(H)|(n((n)|(r)|(v)|(h))?)|(r(r)?)|(v)|(b((n)|(b))?)|(h))|((Y)|(A)|(E)|(o(u)?)|(p(u)?)|(q(u)?)|(s)|(t)|(u)|(w)|(x(u)?)|(y)|(z)|(a((T)|(A)|(L))?)|(c)|(e)|(f(u)?)|(g(u)?)|(i)|(j)|(l)|(m(u)?)))+"); |
var str = "Avtnennan gunzvmu pubExnY nEvln vaTxh rmuhguhaTxnY"; |
assertTrue(re.hasMatch(str)); |
} |