public static ArXivTopic ReadTopics(string text) { ArXivTopic top = ArXivTopic.None; foreach (Match m in rx_subje.Matches(text)) { top |= topicCache[m.Groups[1].Value]; } return(top); }
public static Topic ArXivTopicToTopic(ArXivTopic topic) { return((Topic)(long)topic); }