[Solved] Troubles understanding StdFilter [Range Functions]

Discuss the spreadsheet application
Post Reply
cornouws
Posts: 44
Joined: Mon Jan 14, 2008 10:43 pm

[Solved] Troubles understanding StdFilter [Range Functions]

Post by cornouws »

Hi *,

Using 2.3.1 / 2.4_dev

I'm working in a spreadsheet and working with the StandardFilter on some data. Example:
flour 12
filter 23
flower 15
folder 47

When using Data|Filter|StandardFilter and choosing Regular expressions, I'd expect that entering "fl." (with dot, but without quotes) in the field Value, would find flour en flower. Nope.
Anyone knowing what I'm doing wrong??

Thankx,
Cor
Last edited by Hagar Delest on Tue Jun 10, 2008 3:54 pm, edited 3 times in total.
Reason: tagged the thread as Solved.
The most recent LibreOffice and OpenOffice.org on Ubuntu - sometimes on Windows XP
User avatar
Hagar Delest
Moderator
Posts: 32667
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Troubles understanding the StandardFilter

Post by Hagar Delest »

The period is valid for a single character.
Try with ".*"
 Edit: So the filter should be fl.* 
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
huw
Volunteer
Posts: 417
Joined: Wed Nov 21, 2007 1:57 pm

Re: Troubles understanding the StandardFilter

Post by huw »

To expand on Hagar's answer, fl. would match fly flo and flu

When you get time, have a read of Regular Expressions in Calc, and the Writer article it refers to.
cornouws
Posts: 44
Joined: Mon Jan 14, 2008 10:43 pm

Re: Troubles understanding the StandardFilter

Post by cornouws »

Thanks Huw and Hagar.
As in my other post, it's obvious that reg expr. are not suitable for a person with a rushing reading style, as I often do. I'll have to better my life :oops:
The most recent LibreOffice and OpenOffice.org on Ubuntu - sometimes on Windows XP
Post Reply