]>
Commit | Line | Data |
---|---|---|
1 | { REG_OKAY, "REG_OKAY", "no errors detected" }, | |
2 | { REG_NOMATCH, "REG_NOMATCH", "failed to match" }, | |
3 | { REG_BADPAT, "REG_BADPAT", "invalid regexp (reg version 0.8)" }, | |
4 | { REG_ECOLLATE, "REG_ECOLLATE", "invalid collating element" }, | |
5 | { REG_ECTYPE, "REG_ECTYPE", "invalid character class" }, | |
6 | { REG_EESCAPE, "REG_EESCAPE", "invalid escape \\ sequence" }, | |
7 | { REG_ESUBREG, "REG_ESUBREG", "invalid backreference number" }, | |
8 | { REG_EBRACK, "REG_EBRACK", "brackets [] not balanced" }, | |
9 | { REG_EPAREN, "REG_EPAREN", "parentheses () not balanced" }, | |
10 | { REG_EBRACE, "REG_EBRACE", "braces {} not balanced" }, | |
11 | { REG_BADBR, "REG_BADBR", "invalid repetition count(s)" }, | |
12 | { REG_ERANGE, "REG_ERANGE", "invalid character range" }, | |
13 | { REG_ESPACE, "REG_ESPACE", "out of memory" }, | |
14 | { REG_BADRPT, "REG_BADRPT", "quantifier operand invalid" }, | |
15 | { REG_ASSERT, "REG_ASSERT", "\"can't happen\" -- you found a bug" }, | |
16 | { REG_INVARG, "REG_INVARG", "invalid argument to regex function" }, | |
17 | { REG_MIXED, "REG_MIXED", "character widths of regex and string differ" }, | |
18 | { REG_BADOPT, "REG_BADOPT", "invalid embedded option" }, |