diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-08 23:33:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-08 23:33:47 +0000 |
commit | 9fcdf0fe81f3c5142b8abd3f701dc3964549742a (patch) | |
tree | 2d189d22e4686a8aeb55c452221042582d68b95d /build/i18n-po2lua.pl | |
parent | 3812f2908731c6ff5e59aec4e0c899dbff35c469 (diff) |
libs/web: introduce recursive expression support for datatypes, introduce "or" and "and" datatypes
The commit adds a recursive parser for datatype expressions which allows nesting of validators,
this allows for complex expressions like "list(or(range(0,65535),'infinite'))" to allow a list of
values which are either integers between 0 and 65535 or the literal string "inifinite".
That change also deprecates combined datatypes like "ipaddr" ["or(ip4addr,ip6addr)"] or
"host" ["or(hostname,ip4addr,ip6addr)"]
Diffstat (limited to 'build/i18n-po2lua.pl')
0 files changed, 0 insertions, 0 deletions