| 
version 1.1, 2013/01/17 10:05:35
 | 
version 1.4, 2024/10/28 09:58:51
 | 
| 
 Line 12  terms:
 | 
 Line 12  terms:
 | 
 |  All of the documentation and software included in the ELWIX and AITNET | 
  All of the documentation and software included in the ELWIX and AITNET | 
 |  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> | 
  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> | 
 |   | 
   | 
| Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | Copyright 2004 - 2024 | 
 |          by Michael Pounov <misho@elwix.org>.  All rights reserved. | 
          by Michael Pounov <misho@elwix.org>.  All rights reserved. | 
 |   | 
   | 
 |  Redistribution and use in source and binary forms, with or without | 
  Redistribution and use in source and binary forms, with or without | 
| 
 Line 61  regex_Verify(const char *csRegex, const char *csData, 
 | 
 Line 61  regex_Verify(const char *csRegex, const char *csData, 
 | 
 |          regex_t re; | 
          regex_t re; | 
 |          regmatch_t match; | 
          regmatch_t match; | 
 |          char szErr[STRSIZ]; | 
          char szErr[STRSIZ]; | 
|         int ret, flg; |         int ret = 0, flg; | 
 |          const char *pos; | 
          const char *pos; | 
 |   | 
   | 
 |          if (!csRegex || !csData) | 
          if (!csRegex || !csData) | 
| 
 Line 74  regex_Verify(const char *csRegex, const char *csData, 
 | 
 Line 74  regex_Verify(const char *csRegex, const char *csData, 
 | 
 |                  return NULL; | 
                  return NULL; | 
 |          } | 
          } | 
 |   | 
   | 
|         for (ret = flg = 0, pos = csData; !(ret = regexec(&re, pos, 1, &match, flg));  |         for (flg = 0, pos = csData; !(ret = regexec(&re, pos, 1, &match, flg));  | 
 |                          pos += match.rm_eo, flg = REG_NOTBOL) { | 
                          pos += match.rm_eo, flg = REG_NOTBOL) { | 
 |                  if (startPos) | 
                  if (startPos) | 
 |                          *startPos = match.rm_so; | 
                          *startPos = match.rm_so; |