                 }
             }
         
+            // set the variable name for the plural replacement
             let key = "v\(tokenInt)"
+            // include the dictionary of possible replacements for the plural token
             mutableDictionary[key] = keyDictionary
+            // append the variable name to the format string where the plural token used to be
             format += "%#@\(key)@"
         }
+        // append the final part of the string after the last match
         format += nsSelf.substring(with: NSMakeRange(location, nsSelf.length - location)).iOSNativeLocalization(tokens: tokens)
         mutableDictionary["NSStringLocalizedFormatKey"] = format
         return mutableDictionary

        let results = dictionaryRegex.matches(in: self, options: [], range: fullRange)
        let nsSelf = self as NSString

        
        var format = ""
        var location = 0
        for result in results {
            format += nsSelf.substring(with: NSMakeRange(location, result.range.location - location)).iOSNativeLocalization(tokens: tokens)
            location = result.range.location + result.range.length
            let contents = dictionaryRegex.replacementString(for: result, in: self, offset: 0, template: "$1")
             
            let components = contents.components(separatedBy: "|")

                return
            }
            var token = regex.replacementString(for: result, in: nativeLocalization as String, offset: offset, template: "$1")
            // If the token doesn't have an index, give it one
            // This allows us to support unordered tokens for single token strings
            if token == "" {
                token = "\(index)"
            }
