正则

  1. <!-- named regex -->
  2. <dependency>
  3. <groupId>com.github.tony19</groupId>
  4. <artifactId>named-regexp</artifactId>
  5. <version>0.2.5</version>
  6. </dependency>

HTML解析

Jsoup

  1. <dependency>
  2. <groupId>org.jsoup</groupId>
  3. <artifactId>jsoup</artifactId>
  4. <version>1.11.3</version>
  5. </dependency>

escape

  1. <dependency>
  2. <groupId>org.apache.commons</groupId>
  3. <artifactId>commons-text</artifactId>
  4. <version>1.6</version>
  5. </dependency>
  1. import org.apache.commons.text.StringEscapeUtils
  2. StringEscapeUtils.unescapeHtml4(raw)
文档更新时间: 2019-06-21 20:02