To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=35579
------- Additional comments from [EMAIL PROTECTED] Mon Aug 13 17:36:38 +0000
2007 -------
bMatchWholeCell used to mean equality, hence the `(nStart != 0 || nEnd !=
aCellStr.Len())` check ("matched string must start at index 0 and end at
aCellStr.Len()").
I've changed this to ignore leading/trailing whitespace.
So if bMatchWholeCell == true and nStart > 0, but aCellStr[0..nStart] is only
whitespace, it *should* match (thus it ignores leading whitespace). Ditto for
aCellStr[nEnd..aCellStr.Len()-1].
So it is NOT identical to previous behavior, deliberately so, as
leading/trailing whitespace is ignored.
If you really want/need an exact match, using ^ and $ in your regex (to match
start/end of the string). The regex is performed before the leading/trailing
whitespace is ignored.
Example: Column data (without quotes)
"foo"
" foo"
" foo "
Before, a regex of "Equals foo" would only match the first row. After my
change, it will match all three rows.
Before and after, a regex of "Equals ^foo$" will only match the first row. If
you need a regex using ^/$ to match the other rows, you'll need to explicitly
permit spaces, e.g. "Equals ^[[:space:]]*foo[[:space:]]*$".
I will look into issue 32344 and the '~' escape semantics.
---------------------------------------------------------------------
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]