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
posted @ 2014-07-12 11:15  wxwcase  阅读(207)  评论(0编辑  收藏  举报