package Ġcom . t ari . android . wallet . ui . fragment . debug . base Node Config . validator Ċ Ċ class ĠBase Node Address Validator : ĠValidator Ġ{ ĊĠĠĠ Ġprivate Ġval Ġon ion 2 Clipboard Regex Ġ= ĠRegex ("[ a - zA - Z 0 - 9 ]{ 6 4 } :: / on ion /[ a - zA - Z 2 - 7 ]{ 1 6 } (: [ 0 - 9 ]+ )? ") ĊĠĠĠ Ġprivate Ġval Ġon ion 3 Clipboard Regex Ġ= ĠRegex ("[ a - zA - Z 0 - 9 ]{ 6 4 } :: / on ion [ 2 - 3 ]/ [ a - zA - Z 2 - 7 ]{ 5 6 } (: [ 0 - 9 ]+ )? ") ĊĊĠĠĠ Ġoverride Ġfun Ġvalidate ( string : ĠString ): ĠValidator . State Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġif Ġ( on ion 2 Clipboard Regex . matches ( string ) Ġ|| Ġon ion 3 Clipboard Regex . matches ( string )) ĠValidator . State . Valid Ġelse ĠValidator . State . Invalid ĊĠĠĠ Ġ} Ċ }