java > Oracle Java 8 Regex Replace

Testing oracle java 8 regular expression for string replace.

author @regular.express

Image on regexpress/java

properties

  • * string regex
    Regex string.
  • string replace
    Replace string.
  • boolean CANON_EQ
    Force canonical equivalence
  • boolean CASE_INSENSITIVE
    Case insensitive
  • boolean COMMENTS
    Allow comments in regex
  • boolean DOTALL
    Dot matches line terminator
  • boolean LITERAL
    Treat as a sequence of literal characters
  • boolean MULTILINE
    ^ and $ match EOL
  • boolean UNICODE_CASE
    Unicode case matching
  • boolean UNIX_LINES
    Only consider ' ' as line terminator
  • boolean UNICODE_CHARACTER_CLASS
    Enables the Unicode version of Predefined character classes and * POSIX character classes

Sharings