/**
- * Break the filename up by "_", " " and "." (any other separators?) to make
+ * Where to break up keywords
+ */
+#define TOKENS "_. /-!?#&+@\"\'\\;:"
+
+/**
+ * Break the filename up by TOKENS to make
* keywords.
*
* @param s string to break down.
int seps = 0;
ss = GNUNET_strdup (s);
- for (p = strtok (ss, "_. "); p != NULL; p = strtok (NULL, "_, "))
+ for (p = strtok (ss, TOKENS); p != NULL; p = strtok (NULL, TOKENS))
{
if (NULL != array)
{
GNUNET_free (ss);
return seps;
}
+#undef TOKENS
/**