OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Regular Expressions / regex HowTo

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
drking
Power User
Power User


Joined: 25 Oct 2006
Posts: 91

PostPosted: Tue Nov 06, 2007 8:11 am    Post subject: Regular Expressions / regex HowTo Reply with quote

Just a note for those searching the archives for help with regex:

I've written a HowTo for regular expressions:

http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Regular_Expressions_in_Writer


I've ploughed through about 40 issues (an excruciating experience) and have tried to describe OOo regular expressions as they are, rather than as they might be.

Being a wiki, the HowTo is open for anyone to edit and contribute to, if they wish.

I hope it is useful
Back to top
View user's profile Send private message
foxcole
Super User
Super User


Joined: 19 Jan 2006
Posts: 2771
Location: Minneapolis, Minnesota

PostPosted: Tue Nov 06, 2007 8:31 am    Post subject: Reply with quote

Nice job!! This will be very useful, and it does clear up some questions the help file doesn't address. Well written, too. Thanks!! Very Happy
_________________
Cheers!
---Fox

WinXP Pro SP2, OOo Portable 2.3.1, OOo local 2.4 RC4
New OpenOffice forum: http://user.services.openoffice.org/en/forum/
Manuals: http://documentation.openoffice.org/manuals/index.html
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
huwg
Super User
Super User


Joined: 14 Feb 2007
Posts: 890

PostPosted: Tue Nov 06, 2007 9:17 am    Post subject: Reply with quote

Superb. Thank you very much!

A couple of examples you might want to work in:

Find cells NOT containing...
Finding duplicate words
Back to top
View user's profile Send private message
Bhikkhu Pesala
Super User
Super User


Joined: 23 Aug 2005
Posts: 2324
Location: Seven Kings, London, UK

PostPosted: Tue Nov 06, 2007 9:32 am    Post subject: Reply with quote

Good work. Added to my bookmarks. Smile
_________________
Fonts * Opera * Oo Tips * FAQ * New Forum
Oo 2.3.1 * Win XP
Back to top
View user's profile Send private message Visit poster's website
acknak
Moderator
Moderator


Joined: 13 Aug 2004
Posts: 4295
Location: ~ 40°N,75°W

PostPosted: Tue Nov 06, 2007 11:59 am    Post subject: Reply with quote

Wow! Yes--excellent work.

The only suggestion I have is to add live links for the issues, just to make it a little easier to follow-up there. There is some good background in some of them and people may want to check to see if the status changes.

I like huwg's suggestion of including some "recipes" for common tasks.

Nice! Thanks very much for putting that all together.
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Tue Nov 06, 2007 12:07 pm    Post subject: Reply with quote

Yes, very nice.

I didn't know line breaks were treated like paragraph breaks for purposes of "^." and ".$" or the like.
Back to top
View user's profile Send private message
Devudu
General User
General User


Joined: 01 Nov 2007
Posts: 9

PostPosted: Wed Nov 07, 2007 12:11 am    Post subject: Reply with quote

Nice1
Good that you added the back reference issue in "Replace" box.
Back to top
View user's profile Send private message
drking
Power User
Power User


Joined: 25 Oct 2006
Posts: 91

PostPosted: Wed Nov 07, 2007 1:28 pm    Post subject: Reply with quote

Thank you for the kind words.

I've made the suggested changes (the Calc example will go into the Calc regex HowTo, but that's still a work in progress)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group