constants group SearchFlags in module com::sun::star::util::

(Global Index)

Syntax

constants group SearchFlags;

Constants Summary

ALL_IGNORE_CASE

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

Field Details



ALL_IGNORE_CASE

[ DEPRECATED ]

Syntax

const long  ALL_IGNORE_CASE = 0x00000001;

Description

See also

TransliterationModulesNew

NORM_WORD_ONLY

Syntax

const long  NORM_WORD_ONLY = 0x00000010;

Description

Flag for normal (Boyer-Moore) search


REG_EXTENDED

Syntax

const long  REG_EXTENDED = 0x00000100;

Description

Flag for "regular expression" search / interpret as extended regular expression


REG_NOSUB

Syntax

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

Syntax

const long  REG_NEWLINE = 0x00000400;

Description

Flag for "regular expression" search / Special new line treatment


REG_NOT_BEGINOFLINE

Syntax

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

Syntax

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

Syntax

const long  LEV_RELAXED = 0x00010000;

Description

Flags for "Weight Levenshtein-Distance" search

Top of Page