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





------- Additional comments from [EMAIL PROTECTED] Wed May 28 08:42:05 +0000 
2008 -------
>From the 2.4 help file (node "regular expressions;list of"):

"& or $0        Adds the string that was found by the search criteria in the
Search for box to the term in the Replace with box when you make a
replacement. For example, if you enter "window" in the Search for box
and "&frame" in the Replace with box, the word "window" is replaced with
"windowframe". You can also enter an "&" in the Replace with box to
modify the Attributes or the Format of the string found by the search
criteria."

"^$     Finds an empty paragraph."

But: & or $0 in the Replace box do not insert an empty paragraph mark but
instead the characters & or $0.

Nicely enough, & works for inserting \n (with e. g. &&& inserting \n\n\n
if only one \n and one \n alone was in the Search box), which indicates
that correct handling of \n (for inserting line breaks (newline)) and
\r (for inserting paragraph breaks) might not be impossible after all.

@SBA: Should this too be viewed as a special case, with an issue of its
own? I thought issue 46165
http://www.openoffice.org/issues/show_bug.cgi?id=46165 was supposed to be some
sort of collector issue for regular expressions in general.

Or should I reopen issue 70554
http://www.openoffice.org/issues/show_bug.cgi?id=70554 as being a special
case/"mutating" issue?

I can't find a "spec template" that you've mentioned in issue 46165. Is this 
it?:
http://specs.openoffice.org/  
http://specs.openoffice.org/collaterals/template/2.0/OpenOffice-org-Specification-Template.ott
http://specs.openoffice.org/collaterals/OpenOffice_org_Specification_guide.sxw
http://eis.services.openoffice.org/EIS2/guide.CheckSpecification

If this is the kind of thing it takes, I guess I should file an RFE to the OOo
Bugzilla that such pointers be included in every issue page, "Write a
specification template".

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