support ~>a.b.c|~>d.e validation