 public class Ascii {
 
   public static func toLowerCase(c: UInt8) -> UInt8 {
-    if c >= 97 && c <= 122 {
-      return c - 32
+    if c >= 65 && c <= 90 {
+      return c + 32
     }
     return c
   }

    let len = a.count
    for i in 0..<len {
      let c = a[i]
      if c >= 97 && c <= 122 {
        a[i] = c - 32
      }
    }
    return a

          }
        case .Alternative:
          let altPart = part as! GlobMatcherAlternativePart
          let bytes = ignoreCase ? Ascii.toLowerCase(altPart.bytes) :
              altPart.bytes
          if lastType == .Any {
            m.eatUntilIncludingBytesFromList(bytes)
          } else {
            m.eatBytesFromList(bytes)
          }
      }
      lastType = part.type
