Lines Matching refs:n
154 static void n(char* pattern, char* str) in n() function
196 n(".", ""); in main()
199 n("\\W", "e"); in main()
203 n("\\D", "4"); in main()
210 n("[ab]", "c"); in main()
212 n("[^a]", "a"); in main()
215 n("[^]]", "]"); in main()
220 n("[\\w]", " "); in main()
223 n("[\\d]", "e"); in main()
225 n("[\\D]", "3"); in main()
227 n("[\\s]", "a"); in main()
229 n("[\\S]", " "); in main()
231 n("[\\w\\d]", " "); in main()
236 n("[[:upper]]", "A"); in main()
241 n("[\\x6A-\\x6D]", "\x6E"); in main()
242 n("^[0-9A-F]+ 0+ UNDEF ", "75F 00000000 SECT14A notype () External | _rb_apply"); in main()
248 n("[[^a]]", "a"); in main()
249 n("[^[a]]", "a"); in main()
251 n("[[ab]&&bc]", "a"); in main()
252 n("[[ab]&&bc]", "c"); in main()
254 n("[^a-z&&b-y&&c-x]", "w"); in main()
256 n("[[^a&&a]&&a-z]", "a"); in main()
258 n("[[^a-z&&bcdef]&&[^c-g]]", "c"); in main()
261 n("[^[^abc]&&[^cde]]", "f"); in main()
263 n("[a\\-&&\\-a]", "&"); in main()
264 n("\\wabc", " abc"); in main()
270 n(".a", "ab"); in main()
275 n("^\\w$", " "); in main()
286 n("\\Gz", "bza"); in main()
287 n("az\\G", "az"); in main()
288 n("az\\A", "az"); in main()
289 n("a\\Az", "az"); in main()
294 n("\\W", "_"); in main()
296 n("(?=z).", "a"); in main()
298 n("(?!z)a", "z"); in main()
302 n("(?i:A)", "b"); in main()
306 n("(?i:[f-m])", "e"); in main()
308 n("(?i:[^a-z])", "A"); in main()
309 n("(?i:[^a-z])", "a"); in main()
316 n(".", "\n"); in main()
322 n("(?i)(?-i)a", "A"); in main()
323 n("(?i)(?-i:a)", "A"); in main()
331 n("a+", ""); in main()
358 n("a|b|cd|efg|h|ijk|lmn|o|pq|rstuvwx|yz", "mn"); in main()
370 n("\\w|\\w", " "); in main()
379 n("(?>a|abd)c", "abdc"); in main()
390 n("a+|b+", ""); in main()
406 n("ax{2}*a", "0axxxa1"); in main()
407 n("a.{0,2}a", "0aXXXa0"); in main()
408 n("a.{0,2}?a", "0aXXXa0"); in main()
409 n("a.{0,2}?a", "0aXXXXa0"); in main()
413 n("(?:a+|\\Ab*)cc", "abcc"); in main()
420 n("(?i:c)|a", "A"); in main()
424 n("[^abc]+", "abc"); in main()
442 n("(?:ab){3,}", "abab"); in main()
488 n("(\\Abb)cc", "zbbcc"); in main()
490 n("(^bb)cc", "zbbcc"); in main()
492 n("cc(bb$)", "ccbbb"); in main()
493 n("(\\1)", ""); in main()
494 n("\\1(a)", "aa"); in main()
495 n("(a(b)\\1)\\2+", "ababb"); in main()
496 n("(?:(?:\\1|z)(a))+$", "zaa"); in main()
499 n("(a)$|\\1", "az"); in main()
501 n("(a)\\1", "ab"); in main()
515 n("(\\w\\d\\s)\\1", "f5 f5"); in main()
520 n("(^a)\\1", "baa"); in main()
521 n("(a$)\\1", "aa"); in main()
522 n("(ab\\Z)\\1", "ab"); in main()
528 n("((?i:az))\\1", "Azaz"); in main()
530 n("(?<=a)b", "bb"); in main()
537 n("(?<!a)b", "ab"); in main()
539 n("(?<!a|bc)z", "bcz"); in main()
556 n("(?:(?<x>abc)|(?<x>efg))\\k<x>", "abcefg"); in main()
581 n("��", "��"); in main()
591 n("\\W", "��"); in main()
601 n("[�ʤ�]", "��"); in main()
603 n("[^��]", "��"); in main()
605 n("[\\d]", "��"); in main()
607 n("[\\s]", "��"); in main()
611 n("\\w����", " ����"); in main()
617 n(".��", "����"); in main()
630 n("\\G��", "������"); in main()
631 n("�Ȥ�\\G", "�Ȥ�"); in main()
632 n("�ޤ�\\A", "�ޤ�"); in main()
633 n("��\\A��", "�ޤ�"); in main()
635 n("(?=��).", "��"); in main()
637 n("(?!��)��", "��"); in main()
640 n("(?i:��)", "��"); in main()
650 n("��+", ""); in main()
668 n("��|��|����|������|��|������|������|��|����|�ĤƤȤʤ�|�̤�", "����"); in main()
693 n("(?>��|������)��", "��������"); in main()
706 n("��+|��+", ""); in main()
724 n("(?:��+|\\A��*)����", "��������"); in main()
731 n("(?i:��)|a", "A"); in main()
735 n("[^������]+", "������"); in main()
753 n("(?:����){3,}", "���ֵ���"); in main()
793 n("(\\A����)����", "������"); in main()
795 n("(^����)����", "������"); in main()
797 n("���(���$)", "������"); in main()
799 n("(̵)\\1", "̵��"); in main()
814 n("(\\w\\d\\s)\\1", "��5 ��5"); in main()
819 n("(^��)\\1", "����"); in main()
820 n("(��$)\\1", "����"); in main()
821 n("(����\\Z)\\1", "����"); in main()
831 n("[[^��]]", "��"); in main()
832 n("[^[��]]", "��"); in main()
835 n("[[������]&&����]", "��"); in main()
836 n("[[������]&&����]", "��"); in main()
838 n("[^��-��&&��-��&&��-��]", "��"); in main()
840 n("[[^��&&��]&&��-��]", "��"); in main()
842 n("[[^��-��&&��������]&&[^��-��]]", "��"); in main()
845 n("[^[^������]&&[^������]]", "��"); in main()
850 n("[^[^a-z������]&&[^bcdefg������]g-w]", "2"); in main()