Saturday, 1 November 2014

Creating a Pattern with Flags

Pattern class defines set of constants that you can use with 'compile' method that accepts a set of flags affecting the way the pattern is matched.

Constants specified in Pattern class
Pattern.CANON_EQ
Pattern.CASE_INSENSITIVE
Pattern.COMMENTS
Pattern.DOTALL
Pattern.LITERAL
Pattern.MULTILINE
Pattern.UNICODE_CASE
Pattern.UNICODE_CHARACTER_CLASS
Pattern.UNIX_LINES




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment