test_class.file: runelite-client/src/test/java/net/runelite/client/util/TextTest.java
test_class.identifier: TextTest
test_case.body: @Test
  	public void removeFormattingTags()
  	{
  		assertEquals("Test", Text.removeFormattingTags("<col=FFFFFF>Test</col>"));
  		assertEquals("Test", Text.removeFormattingTags("<img=1><s>Test</s>"));
  		assertEquals("Zezima  (level-126)", Text.removeFormattingTags("<col=ffffff><img=2>Zezima<col=00ffff>  (level-126)"));
  		assertEquals("", Text.removeFormattingTags("<colrandomtext test>"));
  		assertEquals("Not so much.", Text.removeFormattingTags("<col=FFFFFF This is a very special message.</col>Not so much."));
  		assertEquals("Use Item -> Man", Text.removeFormattingTags("Use Item -> Man"));
  		assertEquals("a < b", Text.removeFormattingTags("a < b"));
  		assertEquals("a <lt> b", Text.removeFormattingTags("a <lt> b"));
  		assertEquals("Remove no tags", Text.removeFormattingTags("Remove no tags"));
  	}
test_case.class_method_signature: TextTest.removeFormattingTags()
test_case.full_signature: @Test public void removeFormattingTags()
test_case.identifier: removeFormattingTags
test_case.invocations: assertEquals removeFormattingTags assertEquals removeFormattingTags assertEquals removeFormattingTags assertEquals removeFormattingTags assertEquals removeFormattingTags assertEquals removeFormattingTags assertEquals removeFormattingTags assertEquals removeFormattingTags assertEquals removeFormattingTags
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void removeFormattingTags()
focal_class.declarator: DISTANCE = new JaroWinklerDistance()
focal_class.modifier: private static final
focal_class.original_string: private static final JaroWinklerDistance DISTANCE = new JaroWinklerDistance();
focal_class.type: JaroWinklerDistance
focal_class.var_name: DISTANCE
focal_class.declarator: TAG_REGEXP = Pattern.compile("<[^>]*>")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern TAG_REGEXP = Pattern.compile("<[^>]*>");
focal_class.type: Pattern
focal_class.var_name: TAG_REGEXP
focal_class.declarator: COMMA_SPLITTER = Splitter
  		.on(",")
  		.omitEmptyStrings()
  		.trimResults()
focal_class.modifier: private static final
focal_class.original_string: private static final Splitter COMMA_SPLITTER = Splitter
  		.on(",")
  		.omitEmptyStrings()
  		.trimResults();
focal_class.type: Splitter
focal_class.var_name: COMMA_SPLITTER
focal_class.declarator: COMMA_JOINER = Joiner.on(",").skipNulls()
focal_class.modifier: private static final
focal_class.original_string: private static final Joiner COMMA_JOINER = Joiner.on(",").skipNulls();
focal_class.type: Joiner
focal_class.var_name: COMMA_JOINER
focal_class.declarator: JAGEX_PRINTABLE_CHAR_MATCHER = new JagexPrintableCharMatcher()
focal_class.modifier: public static final
focal_class.original_string: public static final CharMatcher JAGEX_PRINTABLE_CHAR_MATCHER = new JagexPrintableCharMatcher();
focal_class.type: CharMatcher
focal_class.var_name: JAGEX_PRINTABLE_CHAR_MATCHER
focal_class.file: runelite-client/src/main/java/net/runelite/client/util/Text.java
focal_class.identifier: Text
focal_class.class_method_signature: Text.fromCSV(final String input)
focal_class.full_signature: public static List<String> fromCSV(final String input)
focal_class.identifier: fromCSV
focal_class.modifiers: public static
focal_class.parameters: (final String input)
focal_class.return: List<String>
focal_class.signature: List<String> fromCSV(final String input)
focal_class.class_method_signature: Text.toCSV(final Collection<String> input)
focal_class.full_signature: public static String toCSV(final Collection<String> input)
focal_class.identifier: toCSV
focal_class.modifiers: public static
focal_class.parameters: (final Collection<String> input)
focal_class.return: String
focal_class.signature: String toCSV(final Collection<String> input)
focal_class.class_method_signature: Text.removeTags(String str)
focal_class.full_signature: public static String removeTags(String str)
focal_class.identifier: removeTags
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String removeTags(String str)
focal_class.class_method_signature: Text.removeFormattingTags(String str)
focal_class.full_signature: public static String removeFormattingTags(String str)
focal_class.identifier: removeFormattingTags
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String removeFormattingTags(String str)
focal_class.class_method_signature: Text.standardize(String str)
focal_class.full_signature: public static String standardize(String str)
focal_class.identifier: standardize
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String standardize(String str)
focal_class.class_method_signature: Text.toJagexName(String str)
focal_class.full_signature: public static String toJagexName(String str)
focal_class.identifier: toJagexName
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String toJagexName(String str)
focal_class.class_method_signature: Text.sanitizeMultilineText(String str)
focal_class.full_signature: public static String sanitizeMultilineText(String str)
focal_class.identifier: sanitizeMultilineText
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String sanitizeMultilineText(String str)
focal_class.class_method_signature: Text.escapeJagex(String str)
focal_class.full_signature: public static String escapeJagex(String str)
focal_class.identifier: escapeJagex
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String escapeJagex(String str)
focal_class.class_method_signature: Text.sanitize(String name)
focal_class.full_signature: public static String sanitize(String name)
focal_class.identifier: sanitize
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String sanitize(String name)
focal_class.class_method_signature: Text.titleCase(Enum o)
focal_class.full_signature: public static String titleCase(Enum o)
focal_class.identifier: titleCase
focal_class.modifiers: public static
focal_class.parameters: (Enum o)
focal_class.return: String
focal_class.signature: String titleCase(Enum o)
focal_class.class_method_signature: Text.matchesSearchTerms(Iterable<String> searchTerms, final Collection<String> keywords)
focal_class.full_signature: public static boolean matchesSearchTerms(Iterable<String> searchTerms, final Collection<String> keywords)
focal_class.identifier: matchesSearchTerms
focal_class.modifiers: public static
focal_class.parameters: (Iterable<String> searchTerms, final Collection<String> keywords)
focal_class.return: boolean
focal_class.signature: boolean matchesSearchTerms(Iterable<String> searchTerms, final Collection<String> keywords)
focal_method.body: public static String removeFormattingTags(String str)
  	{
  		StringBuffer stringBuffer = new StringBuffer();
  		Matcher matcher = TAG_REGEXP.matcher(str);
  		while (matcher.find())
  		{
  			matcher.appendReplacement(stringBuffer, "");
  			String match = matcher.group(0);
  			switch (match)
  			{
  				case "<lt>":
  				case "<gt>":
  					stringBuffer.append(match);
  					break;
  			}
  		}
  		matcher.appendTail(stringBuffer);
  		return stringBuffer.toString();
  	}
focal_method.class_method_signature: Text.removeFormattingTags(String str)
focal_method.full_signature: public static String removeFormattingTags(String str)
focal_method.identifier: removeFormattingTags
focal_method.invocations: matcher find appendReplacement group append appendTail toString
focal_method.modifiers: public static
focal_method.parameters: (String str)
focal_method.return: String
focal_method.signature: String removeFormattingTags(String str)