Lines Matching defs:string
34 var string = 'aaa\n789\r\nccc\r\n345';
36 var result = string.match(pattern);
42 result = string.match(pattern);
47 string = 'aaa\n789\r\nccc\r\nddd';
49 result = string.match(pattern);
54 result = string.match(pattern);
60 string = '\u00BF\u00CD\u00BB\u00A7';
61 result = string.match(pattern);
63 assertEquals(string, result[0], "12");
65 string = '\u00BF\u00CD \u00BB\u00A7';
66 result = string.match(pattern);
70 string = '\u4e00\uac00\u4e03\u4e00';
71 result = string.match(pattern);
73 assertEquals(string, result[0], "16");
75 string = '\u4e00\uac00 \u4e03\u4e00';
76 result = string.match(pattern);