onig4j
Enum OnigOptionType

java.lang.Object
  extended by java.lang.Enum<OnigOptionType>
      extended by onig4j.OnigOptionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OnigOptionType>

public enum OnigOptionType
extends java.lang.Enum<OnigOptionType>

OnigOptionType enum class.

See Also:
Oniguruma, 鬼車

Enum Constant Summary
ONIG_OPTION_CAPTURE_GROUP
          named and no-named group captured
ONIG_OPTION_DONT_CAPTURE_GROUP
          only named group captured
ONIG_OPTION_EXTEND
          extended pattern form
ONIG_OPTION_FIND_LONGEST
          find longest match
ONIG_OPTION_FIND_NOT_EMPTY
          ignore empty match
ONIG_OPTION_IGNORECASE
          ambiguity match on
ONIG_OPTION_MULTILINE
          '.' match with newline
(Equals to the java.util.regex.Pattern.DOTALL option of Java)
ONIG_OPTION_NEGATE_SINGLELINE
          clear ONIG_OPTION_SINGLELINE which is enabled on ONIG_SYNTAX_POSIX_BASIC, ONIG_SYNTAX_POSIX_EXTENDED, ONIG_SYNTAX_PERL, ONIG_SYNTAX_PERL_NG, ONIG_SYNTAX_JAVA
(Equals to the java.util.regex.Pattern.MULTILINE option of Java)
ONIG_OPTION_NONE
          no option
ONIG_OPTION_NOTBOL
          string head(str) isn't considered as begin of line
ONIG_OPTION_NOTEOL
          string end (end) isn't considered as end of line
ONIG_OPTION_POSIX_REGION
          region argument is regmatch_t[] of POSIX API
ONIG_OPTION_SINGLELINE
          '^' -> '\A', '$' -> '\Z'
 
Field Summary
static int ONIG_OPTION_MAXBIT
           
 
Method Summary
static OnigOptionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OnigOptionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONIG_OPTION_NONE

public static final OnigOptionType ONIG_OPTION_NONE
no option


ONIG_OPTION_IGNORECASE

public static final OnigOptionType ONIG_OPTION_IGNORECASE
ambiguity match on


ONIG_OPTION_EXTEND

public static final OnigOptionType ONIG_OPTION_EXTEND
extended pattern form


ONIG_OPTION_MULTILINE

public static final OnigOptionType ONIG_OPTION_MULTILINE
'.' match with newline
(Equals to the java.util.regex.Pattern.DOTALL option of Java)


ONIG_OPTION_SINGLELINE

public static final OnigOptionType ONIG_OPTION_SINGLELINE
'^' -> '\A', '$' -> '\Z'


ONIG_OPTION_FIND_LONGEST

public static final OnigOptionType ONIG_OPTION_FIND_LONGEST
find longest match


ONIG_OPTION_FIND_NOT_EMPTY

public static final OnigOptionType ONIG_OPTION_FIND_NOT_EMPTY
ignore empty match


ONIG_OPTION_NEGATE_SINGLELINE

public static final OnigOptionType ONIG_OPTION_NEGATE_SINGLELINE
clear ONIG_OPTION_SINGLELINE which is enabled on ONIG_SYNTAX_POSIX_BASIC, ONIG_SYNTAX_POSIX_EXTENDED, ONIG_SYNTAX_PERL, ONIG_SYNTAX_PERL_NG, ONIG_SYNTAX_JAVA
(Equals to the java.util.regex.Pattern.MULTILINE option of Java)


ONIG_OPTION_DONT_CAPTURE_GROUP

public static final OnigOptionType ONIG_OPTION_DONT_CAPTURE_GROUP
only named group captured


ONIG_OPTION_CAPTURE_GROUP

public static final OnigOptionType ONIG_OPTION_CAPTURE_GROUP
named and no-named group captured


ONIG_OPTION_NOTBOL

public static final OnigOptionType ONIG_OPTION_NOTBOL
string head(str) isn't considered as begin of line


ONIG_OPTION_NOTEOL

public static final OnigOptionType ONIG_OPTION_NOTEOL
string end (end) isn't considered as end of line


ONIG_OPTION_POSIX_REGION

public static final OnigOptionType ONIG_OPTION_POSIX_REGION
region argument is regmatch_t[] of POSIX API

Field Detail

ONIG_OPTION_MAXBIT

public static final int ONIG_OPTION_MAXBIT
Method Detail

values

public static OnigOptionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OnigOptionType c : OnigOptionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OnigOptionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null