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





------- Additional comments from [EMAIL PROTECTED] Thu Jul  3 08:39:09 +0000 
2008 -------
Not a RE misuse, IMHO: calc should handle it properly.
OOo seems to use ERE; '^$' matches start-of-string,end-of-string, where
start-of-string is the position at the very beginning of the string and 
end-of-string the very last one; from OOo help seems though ERE used are
'no-multi-line': {start,end}-of-string match the {start,end} position of
a single line, ie the positions {after,before} end-of-line (aka 'paragraph' 
in OOo?), or the very {start,end} if there's no '\n'.

So if Calc allows for multi-line (ie '\n' is legal) cell content:
 - '^$' would match any 0-length line.
 - likewise, '.*' would match every line while '.+' would match 
   non-void lines only, since in no-multi-line ERE '.' doesn't 
   match '\n'.
 - a single '\n' may be collapsed to a void cell, so it'd avoid the
   existance of such strange single-but-void paragraph.
Else (no multi-line cell content, no '\n' allowed), '^$' would never
match and '.*', '.+' would practically be equivalent, _if_ void cells 
are removed from (string) search space.

And I do agree that it sounds reasonable to skip void cells: having no
searchable content, they should not be in RE/filter (string) search space
(besides, removing void cells from search space likely have huge impact 
on performance and resources usage).

So it's a doc/help problem, but point above must first be clarified: 
is '\n' legal in cell content, ie can cell content be multi-line?

thx
-- paolo 




---------------------------------------------------------------------
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