首页 > 代码库 > Java Regex

Java Regex

  1. Case-insensitive matching: https://blogs.oracle.com/xuemingshen/entry/case_insensitive_matching_in_java
    • (?i) means: for ASCII case-insensitive matching:
      • "XYZxyz".matches("(?i)[a-z]+")
    • (?iu) means: for Unicode case-folding
  2. s
  3. s
  4. s
  5. s
  6. ss