|
Libecoli 0.11.1
Extensible COmmand LIne library
|
A node that matches input against a regular expression. More...
Functions | |
| struct ec_node * | ec_node_re (const char *id, const char *str) |
| int | ec_node_re_set_regexp (struct ec_node *node, const char *re) |
A node that matches input against a regular expression.
Configuration Schema
| struct ec_node * ec_node_re | ( | const char * | id, |
| const char * | str ) |
Create a regular expression node.
| id | The node identifier. |
| str | The regular expression pattern (POSIX extended regex). |
| int ec_node_re_set_regexp | ( | struct ec_node * | node, |
| const char * | re ) |
Set the regular expression on a regex node.
| node | The regex node. |
| re | The regular expression pattern. It is duplicated internally. |