summaryrefslogtreecommitdiff
path: root/ext/ereg/regex/cclass.h
diff options
context:
space:
mode:
authorTjerk Meesters <datibbaw@php.net>2014-09-11 19:25:42 +0800
committerTjerk Meesters <datibbaw@php.net>2014-09-11 19:25:42 +0800
commit18fa07e68f40a506191d7ecbeffedeabe3eb74df (patch)
treec18d1485ec93ff3a70c414a11b39115eb0727234 /ext/ereg/regex/cclass.h
parent82096dc15181fce8f3d748a4f86b35911a5d107e (diff)
downloadphp-git-18fa07e68f40a506191d7ecbeffedeabe3eb74df.tar.gz
Revert "Revert "Removing ext/ereg and dependencies""
This reverts commit 1981dd9c73ada7ea893b4636b84211f68838ba23.
Diffstat (limited to 'ext/ereg/regex/cclass.h')
-rw-r--r--ext/ereg/regex/cclass.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/ext/ereg/regex/cclass.h b/ext/ereg/regex/cclass.h
deleted file mode 100644
index d6b5760eef..0000000000
--- a/ext/ereg/regex/cclass.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* character-class table */
-static const struct cclass {
- const unsigned char *name;
- const unsigned char *chars;
- const unsigned char *multis;
-} cclasses[] = {
- {"alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ""},
- {"alpha", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
- ""},
- {"blank", " \t", ""},
- {"cntrl", "\007\b\t\n\v\f\r\1\2\3\4\5\6\16\17\20\21\22\23\24\
-\25\26\27\30\31\32\33\34\35\36\37\177", ""},
- {"digit", "0123456789", ""},
- {"graph", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
-0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
- ""},
- {"lower", "abcdefghijklmnopqrstuvwxyz",
- ""},
- {"print", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
-0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ ",
- ""},
- {"punct", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
- ""},
- {"space", "\t\n\v\f\r ", ""},
- {"upper", "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
- ""},
- {"xdigit", "0123456789ABCDEFabcdef",
- ""},
- {NULL, 0, ""}
-};