Lines Matching refs:s2
78 s2 = STR("A")
80 s2 in s1
85 s2 = STR("B")
87 s2 in s1
93 s2 = STR("AB")
95 s2 in s1
100 s2 = STR("BC")
102 s2 in s1
107 s2 = STR("BC")
109 s2 in s1
118 s2 = m+e
120 s2 in s1
131 s2 = m+e
132 pat = re.compile(s2)
143 s2 = STR("A")
146 s1_find(s2)
151 s2 = STR("B")
154 s1_find(s2)
160 s2 = STR("AB")
163 s1_find(s2)
168 s2 = STR("BC")
171 s1_find(s2)
176 s2 = STR("CA")
179 s1_find(s2)
184 s2 = STR("BC")
187 s1_find(s2)
192 s2 = STR("CA")
195 s1_find(s2)
204 s2 = m+e
207 s1_find(s2)
216 s2 = e+m
219 s1_find(s2)
227 s2 = STR("A")
230 s1_rfind(s2)
235 s2 = STR("B")
238 s1_rfind(s2)
244 s2 = STR("AB")
247 s1_rfind(s2)
252 s2 = STR("BC")
255 s1_rfind(s2)
260 s2 = STR("CA")
263 s1_rfind(s2)
268 s2 = STR("CA")
271 s1_rfind(s2)
276 s2 = STR("BC")
279 s1_rfind(s2)
288 s2 = e+m
291 s1_rfind(s2)
300 s2 = m+e
303 s1_rfind(s2)
312 s2 = STR("A")
315 s1_index(s2)
320 s2 = STR("AB")
323 s1_index(s2)
328 s2 = STR("BC")
331 s1_index(s2)
340 s2 = m+e
343 s1_index(s2)
351 s2 = STR("A")
354 s1_rindex(s2)
359 s2 = STR("AB")
362 s1_rindex(s2)
367 s2 = STR("CA")
370 s1_rindex(s2)
379 s2 = e + m
382 s1_rindex(s2)
390 s2 = STR("A")
393 s1_partition(s2)
398 s2 = STR("B")
401 s1_partition(s2)
407 s2 = STR("AB")
410 s1_partition(s2)
415 s2 = STR("BC")
418 s1_partition(s2)
423 s2 = STR("BC")
426 s1_partition(s2)
435 s2 = m+e
438 s1_partition(s2)
446 s2 = STR("A")
449 s1_rpartition(s2)
454 s2 = STR("B")
457 s1_rpartition(s2)
463 s2 = STR("AB")
466 s1_rpartition(s2)
471 s2 = STR("BC")
474 s1_rpartition(s2)
479 s2 = STR("CA")
482 s1_rpartition(s2)
491 s2 = e + m
494 s1_rpartition(s2)
502 s2 = STR("A")
505 s1_split(s2, 1)
510 s2 = STR("B")
513 s1_split(s2, 1)
519 s2 = STR("AB")
522 s1_split(s2, 1)
527 s2 = STR("BC")
530 s1_split(s2, 1)
535 s2 = STR("BC")
538 s1_split(s2, 1)
547 s2 = m+e
550 s1_split(s2, 1)
558 s2 = STR("A")
561 s1_rsplit(s2, 1)
566 s2 = STR("B")
569 s1_rsplit(s2, 1)
575 s2 = STR("AB")
578 s1_rsplit(s2, 1)
583 s2 = STR("BC")
586 s1_rsplit(s2, 1)
591 s2 = STR("CA")
594 s1_rsplit(s2, 1)
603 s2 = e + m
606 s1_rsplit(s2, 1)
640 s2 = STR("Dalke")
642 s1+s2
644 @bench('s1+s2+s3+s4+...+s20', "concat 20 strings of words length 4 to 15",
648 s2=STR('PUMTLXBZVDO')
668 (s1 + s2+ s3+ s4+ s5+ s6+ s7+ s8+ s9+s10+
683 s2 = get_bytes_yielding_seq(STR, "")
686 sep_join(s2)
692 s2 = get_bytes_yielding_seq(STR, "")
695 sep_join(s2)
701 s2 = get_bytes_yielding_seq(STR, "ABCDEFGHIJKLMnOPQRSTUVWXYZ")
704 sep_join(s2)
710 s2 = get_bytes_yielding_seq(STR, "ABCDEFGHIJKLMnOPQRSTUVWXYZ")
713 sep_join(s2)
719 s2 = [STR(x) for x in "ABCDEFGHIJKLMnOPQRSTUVWXYZ"]
722 sep_join(s2)
728 s2 = [STR(x) for x in "ABCDEFGHIJKLMnOPQRSTUVWXYZ"]
731 sep_join(s2)
737 s2 = [STR("Bob")]*100
740 sep_join(s2)
746 s2 = [STR("Bob")]*100
749 sep_join(s2)
1089 s2 = STR("A")
1092 s1_startswith(s2)
1098 s2 = STR("Andrew")
1101 s1_startswith(s2)
1107 s2 = STR("Anders")
1110 s1_startswith(s2)
1118 s2 = STR("w")
1121 s1_endswith(s2)
1126 s2 = STR("Andrew")
1129 s1_endswith(s2)
1135 s2 = STR("Anders")
1138 s1_endswith(s2)