Lines Matching refs:flags

334  *     <td headers="matches">Nothing, but turns match flags <a href="#CASE_INSENSITIVE">i</a>
340 * given flags <a href="#CASE_INSENSITIVE">i</a> <a href="#UNIX_LINES">d</a>
738 * <li><p> In Perl, embedded flags at the top level of an expression affect
739 * the whole expression. In this class, embedded flags always take effect
741 * within a group; in the latter case, flags are restored at the end of the
776 * The flags are duplicated so that the familiar Perl match flag
838 * <p>The flags CASE_INSENSITIVE and UNICODE_CASE retain their impact on
839 * matching when used in conjunction with this flag. The other flags
915 * and the flags, which are all that is needed to recompile the pattern
930 * The original pattern flags.
934 private int flags;
1027 * flags. </p>
1032 * @param flags
1033 * Match flags, a bit mask that may include
1041 * match flags are set in <tt>flags</tt>
1046 public static Pattern compile(String regex, int flags) {
1047 return new Pattern(regex, flags);
1093 * Returns this pattern's match flags. </p>
1095 * @return The match flags specified when this pattern was compiled
1097 public int flags() {
1098 return flags;
1320 * string and match flags are all that is needed to completely describe
1326 flags = f;
1329 if ((flags & UNICODE_CHARACTER_CLASS) != 0)
1330 flags |= UNICODE_CASE;
1771 return (flags & f) != 0;
2553 return bits.add(ch, flags());
2761 int save = flags;
2835 default: // (?xxx:) inlined match flags
2858 flags = save;
2940 * Parses inlined match flags and set them appropriately.
2947 flags |= CASE_INSENSITIVE;
2950 flags |= MULTILINE;
2953 flags |= DOTALL;
2956 flags |= UNIX_LINES;
2959 flags |= UNICODE_CASE;
2962 flags |= CANON_EQ;
2965 flags |= COMMENTS;
2968 flags |= (UNICODE_CHARACTER_CLASS | UNICODE_CASE);
2981 * Parses the second part of inlined match flags and turns off
2982 * flags appropriately.
2989 flags &= ~CASE_INSENSITIVE;
2992 flags &= ~MULTILINE;
2995 flags &= ~DOTALL;
2998 flags &= ~UNIX_LINES;
3001 flags &= ~UNICODE_CASE;
3004 flags &= ~CANON_EQ;
3007 flags &= ~COMMENTS;
3010 flags &= ~(UNICODE_CHARACTER_CLASS | UNICODE_CASE);
3266 BitClass add(int c, int flags) {
3268 if ((flags & CASE_INSENSITIVE) != 0) {
3272 } else if ((flags & UNICODE_CASE) != 0) {