To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64370





------- Additional comments from [EMAIL PROTECTED] Thu Apr 20 12:38:37 -0700 
2006 -------
Please let me add another question. Is this "MatchWhole"-property of a sheet-doc
nessecary at all?
Any spreadsheet-formula, supporting regexes can match whole cells even when the
option is turned off [=MATCH("^"&stringVal&"$";ref;0) vs.
=MATCH(stringVal;ref;0)]. In numeric context it's pointless anyway. Same with a
sheet-filter.
StarBasic-speaking: 
If NOT FilterDescriptor.IsNumeric then isRegex = True
MatchWhole = (left(stringValue,1) = "^") AND (right(stringValue,1) ="$")
This would result in the same behaviour as a formula shows when MatchWhole = Off
(I saved that setting with my default-template). So I believe
"UseRegularExpression" as property of a filterDescriptor is obsolete as well.
Any regex-unaware user should find a short list of rules in the online-help
*before* he/she gets confronted with the famous "List of Regular Expressions":
1. Use .* instead of *
2. Use . instead of ?
3. Use ^ for start, $ for end and both for matching whole string.
4. Escape all kinds of brackets and literal ^$.*?\& with \ (in case of doubt
escape anything but <, > and alphanumerics)



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to