Constants |
ALL_IGNORE_CASE |
[ DEPRECATED ]
|
NORM_WORD_ONLY |
Flag for normal (Boyer-Moore) search |
REG_EXTENDED |
Flag for "regular expression" search / interpret as extended regular expression |
REG_NOSUB |
Flag for "regular expression" search / No replace, i.e., avoid sub regular
expresions, return true/false to match
|
REG_NEWLINE |
Flag for "regular expression" search / Special new line treatment |
REG_NOT_BEGINOFLINE |
A NEWLINE character in string will not be matched by a period outside bracket
expression or by any form of a non matching list.
A circumflex (^) in pattern when used to specify expression anchoring
will match the zero length string immediately after a newline in string,
regardless of the setting of REG_NOTBOL
A dollar-sign ($) in pattern when used to specify expression anchoring,
will match zero-length string immediately before a new line in string,
regardless of the setting of REG_NOTEOL
|
REG_NOT_ENDOFLINE |
The first character in the string is not the beginning of the line therefore ^ will not
match with first character of the string
|
LEV_RELAXED |
Flags for "Weight Levenshtein-Distance" search |
Constants' Details |
ALL_IGNORE_CASE
const long ALL_IGNORE_CASE = 0x00000001;
- Usage Restrictions
- deprecated
- Deprecation Info
- : the constant ALL_IGNORE_CASE is never supported -
it must use the transliteration flags of
the SearchOptions.
- See also
- TransliterationModulesNew
|
|
NORM_WORD_ONLY
const long NORM_WORD_ONLY = 0x00000010;
- Description
- Flag for normal (Boyer-Moore) search
|
|
REG_EXTENDED
const long REG_EXTENDED = 0x00000100;
- Description
- Flag for "regular expression" search / interpret as extended regular expression
|
|
REG_NOSUB
const long REG_NOSUB = 0x00000200;
- Description
- Flag for "regular expression" search / No replace, i.e., avoid sub regular
expresions, return true/false to match
|
|
REG_NEWLINE
const long REG_NEWLINE = 0x00000400;
- Description
- Flag for "regular expression" search / Special new line treatment
|
|
REG_NOT_BEGINOFLINE
const long REG_NOT_BEGINOFLINE = 0x00000800;
- Description
- A NEWLINE character in string will not be matched by a period outside bracket
expression or by any form of a non matching list.
A circumflex (^) in pattern when used to specify expression anchoring
will match the zero length string immediately after a newline in string,
regardless of the setting of REG_NOTBOL
A dollar-sign ($) in pattern when used to specify expression anchoring,
will match zero-length string immediately before a new line in string,
regardless of the setting of REG_NOTEOL
|
|
REG_NOT_ENDOFLINE
const long REG_NOT_ENDOFLINE = 0x00001000;
- Description
- The first character in the string is not the beginning of the line therefore ^ will not
match with first character of the string
|
|
LEV_RELAXED
const long LEV_RELAXED = 0x00010000;
- Description
- Flags for "Weight Levenshtein-Distance" search
|
|
Copyright © 2003 Sun Microsystems, Inc.