Add two built-in functions:
ipMatch
: can match a IP to a CIDR
- Example:
192.168.2.123
matches192.168.2.0/24
keyMatch2
: can match a RESTful path to a pattern with *
and :
- Example1:
/foo/bar
matches/foo/*
- Example2:
/resource1
matches/:resource