Interface REFlags

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFAULT
      All the foolowing options turned off
      static int DOTALL
      Affects the behaviour of dot(".") tag.
      static int IGNORE_CASE
      Pattern "a" matches both "a" and "A".
      static int IGNORE_SPACES
      Affects how the space characters are interpeted in the expression.
      static int MULTILINE
      Affects the behaviour of "^" and "$" tags.
      static int UNICODE
      Affects whether the predefined classes("\d","\s","\w",etc) in the expression are interpreted as belonging to Unicode.
      static int XML_SCHEMA
      Turns on the compatibility with XML Schema regular expressions.
    • Field Detail

      • IGNORE_CASE

        static final int IGNORE_CASE
        Pattern "a" matches both "a" and "A". Corresponds to "i" in Perl notation.
        See Also:
        Constant Field Values
      • MULTILINE

        static final int MULTILINE
        Affects the behaviour of "^" and "$" tags. When switched off:
      • the "^" matches the beginning of the whole text;
      • the "$" matches the end of the whole text, or just before the '\n' or "\r\n" at the end of text. When switched on:
      • the "^" additionally matches the line beginnings (that is just after the '\n');
      • the "$" additionally matches the line ends (that is just before "\r\n" or '\n'); Corresponds to "m" in Perl notation.
See Also:
Constant Field Values
See Also:
Constant Field Values