    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class gnu.regexp.RESyntax

    java.lang.Object
       |
       +----gnu.regexp.RESyntax

public class RESyntax
extends Object
implements Serializable

Author:
  Wes Biggs

##

RE_BACKSLASH_ESCAPE_IN_LISTS
  Syntax bit.
RE_BK_PLUS_QM
  Syntax bit.
RE_CHAR_CLASS_ESCAPES
  Syntax bit.
RE_CHAR_CLASSES
  Syntax bit.
RE_CONTEXT_INDEP_ANCHORS
  Syntax bit.
RE_CONTEXT_INDEP_OPS
  Syntax bit.
RE_CONTEXT_INVALID_OPS
  Syntax bit.
RE_DOT_NEWLINE
  Syntax bit.
RE_DOT_NOT_NULL
  Syntax bit.
RE_HAT_LISTS_NOT_NEWLINE
  Syntax bit.
RE_INTERVALS
  Syntax bit.
RE_LIMITED_OPS
  Syntax bit.
RE_LOOKAHEAD
  Syntax bit.
RE_NEWLINE_ALT
  Syntax bit.
RE_NO_BK_BRACES
  Syntax bit.
RE_NO_BK_PARENS
  Syntax bit.
RE_NO_BK_REFS
  Syntax bit.
RE_NO_BK_VBAR
  Syntax bit.
RE_NO_EMPTY_RANGES
  Syntax bit.
RE_PURE_GROUPING
  Syntax bit.
RE_STINGY_OPS
  Syntax bit.
RE_STRING_ANCHORS
  Syntax bit.
RE_SYNTAX_AWK
  Predefined syntax.
RE_SYNTAX_ED
  Predefined syntax.
RE_SYNTAX_EGREP
  Predefined syntax.
RE_SYNTAX_EMACS
  Predefined syntax.
RE_SYNTAX_GREP
  Predefined syntax.
RE_SYNTAX_PERL4
  Predefined syntax.
RE_SYNTAX_PERL4_S
  Predefined syntax.
RE_SYNTAX_PERL5
  Predefined syntax.
RE_SYNTAX_PERL5_S
  Predefined syntax.
RE_SYNTAX_POSIX_AWK
  Predefined syntax.
RE_SYNTAX_POSIX_BASIC
  Predefined syntax.
RE_SYNTAX_POSIX_EGREP
  Predefined syntax.
RE_SYNTAX_POSIX_EXTENDED
  Predefined syntax.
RE_SYNTAX_POSIX_MINIMAL_BASIC
  Predefined syntax.
RE_SYNTAX_POSIX_MINIMAL_EXTENDED
  Predefined syntax.
RE_SYNTAX_SED
  Predefined syntax.
RE_UNMATCHED_RIGHT_PAREN_ORD
  Syntax bit.

##

RESyntax()
  Construct a new syntax object with all bits turned off.
RESyntax(RESyntax)
  Construct a new syntax object with all bits set the same as the other syntax.

##

get(int)
  Check if a given bit is set in this syntax.
set(int)
  Set a given bit in this syntax.

##

RE_BACKSLASH_ESCAPE_IN_LISTS

     public static final int RE_BACKSLASH_ESCAPE_IN_LISTS

  Syntax bit. Backslash is an escape character in lists.

RE_BK_PLUS_QM

     public static final int RE_BK_PLUS_QM

  Syntax bit. Use \? instead of ? and \+ instead of +.

RE_CHAR_CLASSES

     public static final int RE_CHAR_CLASSES

  Syntax bit. POSIX character classes [:...:] are allowed.

RE_CONTEXT_INDEP_ANCHORS

     public static final int RE_CONTEXT_INDEP_ANCHORS

  Syntax bit. ^ and $ are special everywhere.

RE_CONTEXT_INDEP_OPS

     public static final int RE_CONTEXT_INDEP_OPS

  Syntax bit. Repetition operators are only special in valid positions.

RE_CONTEXT_INVALID_OPS

     public static final int RE_CONTEXT_INVALID_OPS

  Syntax bit. Repetition and alternation operators are invalid at start and end of pattern and other places. Not fully implemented.

RE_DOT_NEWLINE

     public static final int RE_DOT_NEWLINE

  Syntax bit. Dot matches a newline.

RE_DOT_NOT_NULL

     public static final int RE_DOT_NOT_NULL

  Syntax bit. Dot does not match a null.

RE_INTERVALS

     public static final int RE_INTERVALS

  Syntax bit. Intervals are allowed.

RE_LIMITED_OPS

     public static final int RE_LIMITED_OPS

  Syntax bit. No |, +, or ? operators.

RE_NEWLINE_ALT

     public static final int RE_NEWLINE_ALT

  Syntax bit. Newline is an alternation operator.

RE_NO_BK_BRACES

     public static final int RE_NO_BK_BRACES

  Syntax bit. Intervals use { } instead of \{ \}

RE_NO_BK_PARENS

     public static final int RE_NO_BK_PARENS

  Syntax bit. Grouping uses ( ) instead of \( \).

RE_NO_BK_REFS

     public static final int RE_NO_BK_REFS

  Syntax bit. Backreferences not allowed.

RE_NO_BK_VBAR

     public static final int RE_NO_BK_VBAR

  Syntax bit. Alternation uses | instead of \|

RE_NO_EMPTY_RANGES

     public static final int RE_NO_EMPTY_RANGES

  Syntax bit. Not implemented.

RE_UNMATCHED_RIGHT_PAREN_ORD

     public static final int RE_UNMATCHED_RIGHT_PAREN_ORD

  Syntax bit. Not implemented.

RE_HAT_LISTS_NOT_NEWLINE

     public static final int RE_HAT_LISTS_NOT_NEWLINE

  Syntax bit.

RE_STINGY_OPS

     public static final int RE_STINGY_OPS

  Syntax bit.

RE_CHAR_CLASS_ESCAPES

     public static final int RE_CHAR_CLASS_ESCAPES

  Syntax bit. Allow \d, \D, \s, \S, \w, \W.

RE_PURE_GROUPING

     public static final int RE_PURE_GROUPING

  Syntax bit. Not implemented.

RE_LOOKAHEAD

     public static final int RE_LOOKAHEAD

  Syntax bit. Not implemented.

RE_STRING_ANCHORS

     public static final int RE_STRING_ANCHORS

  Syntax bit. Allow \A, \Z.

RE_SYNTAX_AWK

     public static final RESyntax RE_SYNTAX_AWK

  Predefined syntax.

RE_SYNTAX_ED

     public static final RESyntax RE_SYNTAX_ED

  Predefined syntax.

RE_SYNTAX_EGREP

     public static final RESyntax RE_SYNTAX_EGREP

  Predefined syntax.

RE_SYNTAX_EMACS

     public static final RESyntax RE_SYNTAX_EMACS

  Predefined syntax.

RE_SYNTAX_GREP

     public static final RESyntax RE_SYNTAX_GREP

  Predefined syntax.

RE_SYNTAX_POSIX_AWK

     public static final RESyntax RE_SYNTAX_POSIX_AWK

  Predefined syntax.

RE_SYNTAX_POSIX_BASIC

     public static final RESyntax RE_SYNTAX_POSIX_BASIC

  Predefined syntax.

RE_SYNTAX_POSIX_EGREP

     public static final RESyntax RE_SYNTAX_POSIX_EGREP

  Predefined syntax.

RE_SYNTAX_POSIX_EXTENDED

     public static final RESyntax RE_SYNTAX_POSIX_EXTENDED

  Predefined syntax.

RE_SYNTAX_POSIX_MINIMAL_BASIC

     public static final RESyntax RE_SYNTAX_POSIX_MINIMAL_BASIC

  Predefined syntax.

RE_SYNTAX_POSIX_MINIMAL_EXTENDED

     public static final RESyntax RE_SYNTAX_POSIX_MINIMAL_EXTENDED

  Predefined syntax.

RE_SYNTAX_SED

     public static final RESyntax RE_SYNTAX_SED

  Predefined syntax.

RE_SYNTAX_PERL4

     public static final RESyntax RE_SYNTAX_PERL4

  Predefined syntax.

RE_SYNTAX_PERL4_S

     public static final RESyntax RE_SYNTAX_PERL4_S

  Predefined syntax.

RE_SYNTAX_PERL5

     public static final RESyntax RE_SYNTAX_PERL5

  Predefined syntax.

RE_SYNTAX_PERL5_S

     public static final RESyntax RE_SYNTAX_PERL5_S

  Predefined syntax.

##

RESyntax

     public RESyntax()

  Construct a new syntax object with all bits turned off.

RESyntax

     public RESyntax(RESyntax other)

  Construct a new syntax object with all bits set the same as the other syntax.

##

get

     public boolean get(int index)

  Check if a given bit is set in this syntax.

set

     public RESyntax set(int index)

  Set a given bit in this syntax.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index