I've compiled boost 1.28 and tried the regex++ regression testing on test1252.txt. It looks like it's failing on some of the input lines. I'm running Linux RH72. Have anyone have any success with this file? Thanks Bustamam Error in line 10 of file test1252.txt Expression: [[:lower:]]+ Search text: Þßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ÷ Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 11 of file test1252.txt Expression: [[:upper:]]+ Search text: ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞß Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 12 of file test1252.txt Expression: [[:punct:]]+ Search text: ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿À Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 13 of file test1252.txt Expression: [[:print:]]+ Search text: ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêë= ìíîïðñòóôõö÷øùúûüýþ Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 14 of file test1252.txt Expression: [[:graph:]]+ Search text: ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêë= ìíîïðñòóôõö÷øùúûüýþ Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 15 of file test1252.txt Expression: [a-z]+ Search text: ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 16 of file test1252.txt Expression: [a-z]+ Search text: ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 17 of file test1252.txt Expression: [[:word:]]+ Search text: ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API Error in line 19 of file test1252.txt Expression: [[=a=]]+ Search text: aAàáâãäåÀÁÂÃÄÅ Flags: REG_EXTENDED | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended regex++ API result mismatch in sub-expression 0, found (0,1) expected (0,14) regex++ API result mismatch in regex_match(iterator, iterator, match_results&, const reg_expression&, int) regex++ API result mismatch in regex_match(const std::string&, match_results&, const reg_expression&, int) regex++ API result mismatch in regex_match(const char_t*, match_results&, const reg_expression&, int) regex++ API result mismatch in sub-expression 0, found (0,1) expected (0,14) regex++ API result mismatch in regex_match(iterator, iterator, match_results&, const reg_expression&, int) regex++ API result mismatch in regex_match(const std::string&, match_results&, const reg_expression&, int) regex++ API result mismatch in regex_match(const char_t*, match_results&, const reg_expression&, int) regex++ API result mismatch in sub-expression 0, found (0,1) expected (0,14) POSIX API result mismatch in sub-expression 0, found (0,1) expected (0,14) Error in line 25 of file test1252.txt Expression: ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝ Search text: ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ Flags: REG_EXTENDED | REG_ICASE | REG_PERL | REG_AWK | REG_EGREP | basic | char_classes | intervals | bk_refs | normal | basic | extended Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using regex++ API Match expected but not found using POSIX API 35 lines, 10 tests completed in file test1252.txt **** returning with error code 10 ********** errors detected; see stdout for details ***********
I've compiled boost 1.28 and tried the regex++ regression testing on test1252.txt. It looks like it's failing on some of the input lines.
I'm running Linux RH72.
That file tests extended character support (characters 128-255) in Microsoft code page 1252, it will only succeed on an MS Windows machine with a Western-European (or US) locale. John.
I've compiled boost 1.28 and tried the regex++ regression testing on test1252.txt. It looks like it's failing on some of the input
CP1252 (WinLatin1) should be similar to ISO-8859-1 (Latin1). I'm
running en_US locale which supports all those characters that it's
trying to match. It should be okay right?
Bustamam
--- In Boost-Users@y..., "John Maddock"
I'm running Linux RH72.
That file tests extended character support (characters 128-255) in Microsoft code page 1252, it will only succeed on an MS Windows machine with a Western-European (or US) locale.
John.
CP1252 (WinLatin1) should be similar to ISO-8859-1 (Latin1). I'm running en_US locale which supports all those characters that it's trying to match. It should be okay right?
Similar isn't the same as "the same as". To get the regression test program to work with that file one would probably have to add a call to: setlocale(LC_ALL,""); somewhere as well. But doing that could break the main set of tests on some platforms (as these require the C locale). No-one said this was going to be easy... John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
participants (2)
-
bustamam98
-
John Maddock