亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? psx-interf.c

?? 正則表達式庫
?? C
?? 第 1 頁 / 共 2 頁
字號:
  if (should_match && error_code_returned == REG_NOMATCH)    {        printf ("\nIgnore-case test failed:\n");      printf ("  The string to match was:  `%s'.\n", string);      print_pattern_info (pattern, &pattern_buffer);      if (cflags & REG_ICASE)        printf ("  The cflag REG_ICASE was set.\n");    }  regfree (&pattern_buffer);}static voidtest_newline (should_match, pattern, string, cflags)  boolean should_match;  char *pattern;  char *string;  int cflags;{  regex_t pattern_buffer;  int error_code_returned;  test_compile (1, 0, pattern, &pattern_buffer, cflags);  error_code_returned = regexec (&pattern_buffer, string, 0, 0, 0);  if (should_match && error_code_returned == REG_NOMATCH)    {        printf ("\nNewline test failed:\n");      printf ("  The string to match was:  `%s'.\n", string);      print_pattern_info (pattern, &pattern_buffer);      if (cflags & REG_NEWLINE)        printf ("  The cflag REG_NEWLINE was set.\n");      else        printf ("  The cflag REG_NEWLINE wasn't set.\n");    }  regfree (&pattern_buffer);}static voidtest_posix_match (should_match, pattern, string, cflags)    boolean should_match;    char *pattern;    char *string;    int cflags;{  regex_t pattern_buffer;  int error_code_returned;  boolean was_error = false;  test_compile (1, 0, pattern, &pattern_buffer, cflags);  error_code_returned = regexec (&pattern_buffer, string, 0, 0, 0);  if (should_match && error_code_returned == REG_NOMATCH)    {        printf ("\nShould have matched but didn't:\n");      was_error = true;    }  else if (!should_match && error_code_returned != REG_NOMATCH)    {        printf ("\nShould not have matched but did:\n");      was_error = true;    }  if (was_error)    {      printf ("  The string to match was:  `%s'.\n", string);      print_pattern_info (pattern, &pattern_buffer);    }  regfree (&pattern_buffer);}static voidtest_regexec (){  regmatch_t pmatch[3];  regmatch_t correct_pmatch[3];  int cflags = 0;  int eflags = 0;      printf ("\nStarting regexec tests.\n");  cflags = REG_NOSUB;    /* shouldn't look at any of pmatch.  */  test_pmatch ("a", "a", 0, pmatch, correct_pmatch, cflags);      /* Ask for less `pmatch'es than there are pattern subexpressions.     (Shouldn't look at pmatch[2].  */  cflags = REG_EXTENDED;  fill_pmatch (correct_pmatch, 0, 1, 0, 1, 100, 101);  test_pmatch ("((a))", "a", 2, pmatch, correct_pmatch, cflags);      /* Ask for same number of `pmatch'es as there are pattern subexpressions.  */  cflags = REG_EXTENDED;  fill_pmatch(correct_pmatch, 0, 1, 0, 1, -1, -1);  test_pmatch ("(a)", "a", 2, pmatch, correct_pmatch, cflags);      /* Ask for more `pmatch'es than there are pattern subexpressions.  */  cflags = REG_EXTENDED;  fill_pmatch (correct_pmatch, 0, 1, -1, -1, -1, -1);  test_pmatch ("a", "a", 2, pmatch, correct_pmatch, cflags);  eflags = REG_NOTBOL;  test_eflags (true, false, "^a", "a", cflags, eflags);  test_eflags (true, false, "(^a)", "a", cflags, eflags);  test_eflags (true, false, "a|^b", "b", cflags, eflags);  test_eflags (true, false, "^b|a", "b", cflags, eflags);  eflags = REG_NOTEOL;  test_eflags (false, true, "a$", "a", cflags, eflags);  test_eflags (false, true, "(a$)", "a", cflags, eflags);  test_eflags (false, true, "a|b$", "b", cflags, eflags);  test_eflags (false, true, "b$|a", "b", cflags, eflags);  eflags = REG_NOTBOL | REG_NOTEOL;  test_eflags (true, true, "^a$", "a", cflags, eflags);  test_eflags (true, true, "(^a$)", "a", cflags, eflags);  test_eflags (true, true, "a|(^b$)", "b", cflags, eflags);  test_eflags (true, true, "(^b$)|a", "b", cflags, eflags);  cflags = REG_ICASE;  test_ignore_case (true, "a", "a", cflags);  test_ignore_case (true, "A", "A", cflags);  test_ignore_case (true, "A", "a", cflags);  test_ignore_case (true, "a", "A", cflags);  test_ignore_case (true, "@", "@", cflags);  test_ignore_case (true, "\\[", "[", cflags);  test_ignore_case (true, "`", "`", cflags);  test_ignore_case (true, "{", "{", cflags);  test_ignore_case (true, "[!-`]", "A", cflags);  test_ignore_case (true, "[!-`]", "a", cflags);  cflags = 0;  test_ignore_case (false, "a", "a", cflags);  test_ignore_case (false, "A", "A", cflags);  test_ignore_case (false, "A", "a", cflags);  test_ignore_case (false, "a", "A", cflags);  test_ignore_case (true, "@", "@", cflags);  test_ignore_case (true, "\\[", "[", cflags);  test_ignore_case (true, "`", "`", cflags);  test_ignore_case (true, "{", "{", cflags);  test_ignore_case (true, "[!-`]", "A", cflags);  test_ignore_case (false, "[!-`]", "a", cflags);  /* Test newline stuff.  */  cflags = REG_EXTENDED | REG_NEWLINE;  test_newline (true, "\n", "\n", cflags);  test_newline (true, "a\n", "a\n", cflags);  test_newline (true, "\nb", "\nb", cflags);  test_newline (true, "a\nb", "a\nb", cflags);  test_newline (false, ".", "\n", cflags);  test_newline (false, "[^a]", "\n", cflags);  test_newline (true, "\n^a", "\na", cflags);  test_newline (true, "\n(^a|b)", "\na", cflags);  test_newline (true, "a$\n", "a\n", cflags);  test_newline (true, "(a$|b)\n", "a\n", cflags);  test_newline (true, "(a$|b|c)\n", "a\n", cflags);  test_newline (true, "((a$|b|c)$)\n", "a\n", cflags);  test_newline (true, "((a$|b|c)$)\n", "b\n", cflags);  test_newline (true, "(a$|b)\n|a\n", "a\n", cflags);  test_newline (true, "^a", "\na", cflags);  test_newline (true, "a$", "a\n", cflags);    /* Now test normal behavior.  */  cflags = REG_EXTENDED;  test_newline (true, "\n", "\n", cflags);  test_newline (true, "a\n", "a\n", cflags);  test_newline (true, "\nb", "\nb", cflags);  test_newline (true, "a\nb", "a\nb", cflags);  test_newline (true, ".", "\n", cflags);  test_newline (true, "[^a]", "\n", cflags);  test_newline (false, "\n^a", "\na", cflags);  test_newline (false, "a$\n", "a\n", cflags);  test_newline (false, "^a", "\na", cflags);  test_newline (false, "a$", "a\n", cflags);  /* Test that matches whole string only.  */  cflags = 0;  test_posix_match (true, "a", "a", cflags);    /* Tests that match substrings.  */  test_posix_match (true, "a", "ab", cflags);  test_posix_match (true, "b", "ab", cflags);    /* Test that doesn't match.  */  test_posix_match (false, "a", "b", cflags);  printf ("\nFinished regexec tests.\n");}static voidtest_error_code_message (error_code, expected_error_message)  int error_code;  char *expected_error_message;{  char returned_error_message[TEST_ERRBUF_SIZE];  char error_code_string[ERROR_CODE_LENGTH];  size_t expected_error_message_length = strlen (expected_error_message) + 1;  size_t returned_error_message_length = regerror (error_code, 0, 					             returned_error_message, 	                                             TEST_ERRBUF_SIZE);  if (returned_error_message_length != expected_error_message_length)    {      printf ("\n\n  Testing returned error codes, with expected error \message  `%s':\n", expected_error_message);      printf ("\n\n  and returned error message `%s':\n",       	      returned_error_message);      printf ("  should have returned a length of %d but returned %d.\n",	      expected_error_message_length, returned_error_message_length);    }  if (strncmp (expected_error_message, returned_error_message, 	       TEST_ERRBUF_SIZE - 1) != 0)    {            get_error_string (error_code, error_code_string),       printf ("\n\n  With error code %s (%d), expected error message:\n",      	      error_code_string, error_code);                          printf ("    `%s'\n", expected_error_message);      printf ("  but got:\n");      printf ("    `%s'\n", returned_error_message);    }}static voidtest_error_code_allocation (error_code, expected_error_message)  int error_code;  char *expected_error_message;{  char *returned_error_message = NULL;  char error_code_string[ERROR_CODE_LENGTH];  size_t returned_error_message_length = regerror (error_code, 0, 					             returned_error_message, 	                                             (size_t)0);  returned_error_message = xmalloc (returned_error_message_length + 1);      regerror (error_code, 0, returned_error_message, 	    returned_error_message_length);    if (strcmp (expected_error_message, returned_error_message) != 0)    {      get_error_string (error_code, error_code_string),             printf ("\n\n  Testing error code allocation,\n");       printf ("with error code %s (%d), expected error message:\n", 	       error_code_string, error_code);      printf ("    `%s'\n", expected_error_message);      printf ("  but got:\n");      printf ("    `%s'\n", returned_error_message);    }}static voidtest_regerror (){  test_error_code_message (REG_NOMATCH, "No match");   test_error_code_message (REG_BADPAT, "Invalid regular expression");  test_error_code_message (REG_ECOLLATE, "Invalid collation character");   test_error_code_message (REG_ECTYPE, "Invalid character class name");   test_error_code_message (REG_EESCAPE, "Trailing backslash");   test_error_code_message (REG_ESUBREG, "Invalid back reference");   test_error_code_message (REG_EBRACK, "Unmatched [ or [^");   test_error_code_message (REG_EPAREN, "Unmatched ( or \\(");   test_error_code_message (REG_EBRACE, "Unmatched \\{");   test_error_code_message (REG_BADBR, "Invalid content of \\{\\}");   test_error_code_message (REG_ERANGE, "Invalid range end");   test_error_code_message (REG_ESPACE, "Memory exhausted");   test_error_code_message (REG_BADRPT, "Invalid preceding regular expression");  test_error_code_message (REG_EEND, "Premature end of regular expression");  test_error_code_message (REG_ESIZE, "Regular expression too big");  test_error_code_allocation (REG_ERPAREN, "Unmatched ) or \\)");}voidtest_posix_interface (){  printf ("\nStarting POSIX interface tests.\n");  t = posix_interface_test;    test_regcomp ();  test_regexec ();  test_regerror ();    printf ("\nFinished POSIX interface tests.\n");}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区不卡在线观看| 91.com视频| 中文字幕一区二区三区精华液| 韩日欧美一区二区三区| 日韩精品一区二区三区视频播放| 日日摸夜夜添夜夜添国产精品| 欧美天堂一区二区三区| 亚洲v中文字幕| 在线观看91av| 国产麻豆成人传媒免费观看| 亚洲欧美日韩中文字幕一区二区三区 | 91成人在线精品| 一卡二卡三卡日韩欧美| 欧美久久婷婷综合色| 精品一区二区三区的国产在线播放| 日韩欧美一区二区视频| 国产成人av一区二区三区在线 | 国产精品久久久久久久久免费桃花| 成人sese在线| 亚洲成人一区在线| 久久夜色精品国产噜噜av| av不卡在线播放| 日本不卡视频在线观看| 中文乱码免费一区二区| 91老司机福利 在线| 日韩精品一级中文字幕精品视频免费观看 | 欧美三级在线视频| 麻豆国产精品一区二区三区 | 日本一区二区三区久久久久久久久不 | 亚洲图片有声小说| 91精品国产免费久久综合| 日韩av网站在线观看| 久久先锋影音av| 成人免费黄色在线| 亚洲一区二区av电影| 日韩精品一区在线| 成人激情免费电影网址| 亚洲高清一区二区三区| 精品国产一区a| 成人免费视频一区| 亚洲福利国产精品| 91精品国产一区二区| 亚洲bt欧美bt精品| 国产欧美精品一区| 欧美亚洲综合网| 国产精品原创巨作av| 亚洲黄色录像片| 欧美成人a∨高清免费观看| 不卡一区二区在线| 日韩高清国产一区在线| 国产精品网站在线观看| 欧美日韩在线精品一区二区三区激情| 蜜桃av噜噜一区| 自拍偷拍亚洲激情| 日韩欧美高清在线| 日本精品免费观看高清观看| 蜜桃视频在线观看一区| 亚洲乱码国产乱码精品精98午夜| 欧美一区二区三区成人| 99v久久综合狠狠综合久久| 日本vs亚洲vs韩国一区三区| 国产精品久久久久9999吃药| 欧美日韩国产一区二区三区地区| 精品亚洲国产成人av制服丝袜| 亚洲自拍都市欧美小说| 2023国产一二三区日本精品2022| 69堂成人精品免费视频| 国产福利一区二区| 另类小说视频一区二区| 亚洲精选视频在线| 欧美经典一区二区三区| 91精品婷婷国产综合久久| 一本到不卡免费一区二区| 日韩极品在线观看| 亚洲久本草在线中文字幕| 国产欧美一区二区三区鸳鸯浴 | 欧美国产综合一区二区| 91精品国产色综合久久| 91行情网站电视在线观看高清版| 狠狠网亚洲精品| 亚洲电影一区二区三区| 亚洲欧洲中文日韩久久av乱码| 国产亚洲成av人在线观看导航| 日韩欧美高清dvd碟片| 69av一区二区三区| 欧美精品自拍偷拍| 欧美美女网站色| 欧美日韩一二区| 欧美在线免费视屏| 日本高清免费不卡视频| 91天堂素人约啪| 91视频观看免费| 一本到三区不卡视频| 99精品欧美一区二区蜜桃免费| 成人三级伦理片| 成人黄色片在线观看| 不卡的av网站| 成人av网站在线观看| 成人爽a毛片一区二区免费| 成人看片黄a免费看在线| 成人蜜臀av电影| 99国产精品久久久久久久久久| 99久久久国产精品| 成人av小说网| 国产伦精品一区二区三区在线观看| 国产大陆a不卡| av在线不卡免费看| 91蜜桃视频在线| 欧洲国产伦久久久久久久| 欧美日韩一区国产| 欧美精品 日韩| 精品乱码亚洲一区二区不卡| 国产午夜精品一区二区| 国产精品美女视频| 亚洲综合男人的天堂| 亚洲mv在线观看| 精品一区二区三区蜜桃| 成人黄色小视频在线观看| 在线日韩av片| 日韩欧美国产精品一区| 国产日产精品1区| 亚洲美腿欧美偷拍| 一区二区视频在线| 日本vs亚洲vs韩国一区三区| 国产精品一级二级三级| 成人免费视频视频在线观看免费| 91蜜桃免费观看视频| 欧美老人xxxx18| 久久久www成人免费毛片麻豆| 自拍偷拍亚洲综合| 强制捆绑调教一区二区| 激情六月婷婷久久| 成人午夜精品在线| 欧美日韩的一区二区| 精品国产成人系列| 亚洲欧美电影一区二区| 男人的天堂亚洲一区| 99视频一区二区| 欧美一区国产二区| 久久久噜噜噜久久中文字幕色伊伊 | 一区二区在线观看免费视频播放| 狠狠色综合日日| 在线观看欧美黄色| 国产网站一区二区| 麻豆国产一区二区| 成人a区在线观看| 777色狠狠一区二区三区| 欧美国产乱子伦| 人人精品人人爱| 在线亚洲免费视频| 国产日产欧美一区| 青青草原综合久久大伊人精品 | 欧美三级日韩在线| 亚洲国产经典视频| 美脚の诱脚舐め脚责91 | 国产一区二区免费视频| 欧美私模裸体表演在线观看| 久久夜色精品一区| 男女男精品视频网| 91黄色免费看| 国产精品对白交换视频| 狠狠狠色丁香婷婷综合激情 | 国产情人综合久久777777| 亚洲成a人v欧美综合天堂下载| 成人av中文字幕| 久久久高清一区二区三区| 日本伊人午夜精品| 欧美日韩日本视频| 成人欧美一区二区三区1314 | 日韩一区二区三区观看| 夜夜嗨av一区二区三区四季av| 高清在线成人网| 久久久久99精品国产片| 免费观看一级欧美片| 欧美精品电影在线播放| 亚洲一区精品在线| 一本色道久久综合狠狠躁的推荐| 国产欧美综合在线观看第十页| 秋霞电影网一区二区| 欧美日韩黄视频| 亚洲va欧美va天堂v国产综合| 欧美亚洲另类激情小说| 亚洲乱码中文字幕| 色婷婷综合久久久久中文| 综合激情网...| 91麻豆123| 一区二区三区日韩| 欧美性受xxxx黑人xyx性爽| 亚洲一区免费在线观看| 欧美色图12p| 调教+趴+乳夹+国产+精品| 欧美人动与zoxxxx乱| 亚洲一区二区三区三| 欧美特级限制片免费在线观看| 一区二区三区四区蜜桃| 色悠悠久久综合| 亚洲一区二区成人在线观看| 色综合久久久久| 亚洲欧美激情在线| 色拍拍在线精品视频8848|