Browse Source

* regexps_posix.c: fix host regex

master
Alex 'AdUser' Z 9 years ago
parent
commit
ef1ad14b5f
  1. 2
      src/regexps_posix.c

2
src/regexps_posix.c

@ -4,7 +4,7 @@
#include <regex.h> #include <regex.h>
/* draft */ /* draft */
#define HOST_REGEX "([12][0-9]{0,2}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})" #define HOST_REGEX "([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})"
struct _regex { struct _regex {
struct _regex *next; struct _regex *next;

Loading…
Cancel
Save