Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 8/10/2012 3:09 PM, Andreas Säger wrote:
Am 10.08.2012 22:41, Séamas Ó Brógáin wrote:
Andrew wrote:

A blank line does not have to be an empty line.  (^$)

She didn’t say “blank line”: she said “white line.” A white line is a
line space between paragraphs that contains no text. (In a
word-processor file I take this to be a line created by pressing the
“return” key a second time.) The concept and the term are some centuries
older than word-processor contrivances whereby extra space is added as
part of a paragraph style.




But she mentions that she replaces ^p in WinWord which matches a paragraph mark. Regular expression ^[:space:]*$ matches optional white space between the start position and the end position of a line.



Exactly right Andreas. However, that expression doesn't match the tab character which is why I suggested using [:ctrl:] in a prior post. I realize now that [:ctrl]* would have been more accurate. I don't think you need the ^$, because if it's not between the beginning and end of the line, then where else could it be? I will admit I haven't tested it.



--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.