             }
 
             return false
-            
-//            break
         case "?":
             if si < address.endIndex {
                 break
             }
  
             return false
-            
-//            break
         /*
          * set specification is inclusive, that is [a-z] is a, z and
          * everything in between. this means [z-a] may be interpreted

//: Playground - noun: a place where people can play

import Cocoa


/*
 */
func matches(address: String, pattern: String) -> Bool {
    // var negate = false

}


print("true", matches(address:"ablak", pattern:"ablak"))

print("false", matches(address:"ablak", pattern:"abrak"))

print("true", matches(address:"ablak", pattern:"ab?ak"))

print("true", matches(address:"ablak", pattern:"ab*"))
print("true", matches(address:"ablak", pattern:"ab*k"))

print("true", matches(address:"ablak", pattern:"a{blak}"))
print("true", matches(address:"ablak", pattern:"a{blak,jto}"))
