{
  a: in0.phones[0] match /\+(\d+)\s\((\d+)\)\s(\d+\-\d+)/,
  b: in0.phones map ($ match {
    case matches /\+(\d+)\s\((\d+)\)\s(\d+\-\d+)/ -> { country: $[0], area: $[1], number: $[2] }
    case matches /\((\d+)\)\s(\d+\-\d+)/ -> { area: $[1], number: $[2] }
  }),
  c: in0.phones map ($ match {
    case phone matches /\+(\d+)\s\((\d+)\)\s(\d+\-\d+)/ -> { country: phone[0], area: phone[1], number: phone[2] }
    case phone matches /\((\d+)\)\s(\d+\-\d+)/ -> { area: phone[1], number: phone[2] }
  }),
  d: "DW" match {
    case is Array -> ""
    else x -> "$(x) rules"
  }
}