/** * Inserts keys into the try. Use '|' to concatenate. Use '*' (0,inf) and * '?' (1,1) to express wildcards. * * @param keys pattern of keys to register * @param value value to associate with the key pattern. */ public void put(final String keys, final P value) { if (keys.contains(OR_STRING)) { final String[] keysSplit = OR_PATTERN.split(keys); for (String string : keysSplit) { simplyPut(string, value); } } else { simplyPut(keys, value); } }