[Users] Is is possible to do a 'nested' extended search in Claws)?

Victoria S. 1 at VictoriasJourney.com
Wed Nov 13 20:01:02 CET 2013


Summary, re: Is is possible to do a 'nested' extended search in Claws)?

s metabol & (s sugar | s carboh)

[modified, below, as: s drink & (s sugar | s sweet)]

 ------------------------

SUMMARY: 'nested' (compound) simple filtering in Claws mail.

[Pleas note that the text below is tabulated for monospace fonts; e.g. Courier]

INTENTION:

s drink & (s sugar | s sweet)

equivalent to

s drink* AND [s sugar* NOT s sweet*]

i.e. match Subject lines containing the words drink* and sugar*, but not drink* and sweet*.

For 'reference: '

s drink & s sugar                       # 9 matches
s drink & s sweet                       # 6 matches
s drink & s sugar & s sweet             # 4 matches

Listserv suggestions (both, however, failed my filtering 'test'):

s drink & s sugar | s drink & s sweet   # 4 matches (identical to: s drink & s sugar & s sweet)

s sugar | s sweet & s drink             # 4 matches (identical to: s drink & s sugar & s sweet)

SOLUTION:

s drink & ~s sugar & s sweet            # 2 matches, containing drink* and sweet* NOT sugar*

s drink & ~s sweet & s sugar            # 5 matches, containing drink* and sugar* NOT sweet*

 ---------------------------------------

TESTS:

s drink & s sugar   # 9 matches (may contain sweet*):

Subject: Drinking Fewer Sugar-Sweetened Beverages May Lower Blood Pressure
Subject: 'Less Is More,' When It Comes to Sugary, High-Caffeine Energy Drinks, Researchers Say
Subject: Coffee, Energy Drinkers Beware: Many Mega-Sized Drinks Loaded With Sugar, Nutrition Expert Says
Subject: Sugar-Sweetened Drinks Associated With Higher Blood Pressure
Subject: Food choices matter in weight control: Potatoes, sugary soft drinks among biggest sources of added pounds
Subject: Drinking Green Tea With Starchy Food May Help Lower Blood Sugar Spikes
Subject: Fw: Drinking Green Tea With Starchy Food May Help Lower Blood Sugar Spikes
Subject: Drinking One 12oz Sugar-Sweetened Soft Drink a Day Can Increase the Risk of Type 2 Diabetes by 22 Percent
Subject: Soft-drink makers accused of using 'Big Tobacco playbook' - Controversial Coke ads spur debate about benefits, risks of consuming sugar-sweetened drinks

s drink & s sweet   #6 matches (may contain sugar*):

Subject: Drinking Fewer Sugar-Sweetened Beverages May Lower Blood Pressure
Subject: Sugar-Sweetened Drinks Associated With Higher Blood Pressure
Subject: Americans Like Their Drinks 'Sickeningly Sweet' but New Labeling May Make a Difference
Subject: Hold the diet soda? Sweetened drinks linked to depression, coffee tied to lower risk
Subject: Drinking One 12oz Sugar-Sweetened Soft Drink a Day Can Increase the Risk of Type 2 Diabetes by 22 Percent
Subject: Soft-drink makers accused of using 'Big Tobacco playbook' - Controversial Coke ads spur debate about benefits, risks of consuming sugar-sweetened drinks

Suggestions (all failed: all contain drink* and sugar* and sweet*):

s drink & s sugar & s sweet             # 4 matches;
s drink & s sugar | s drink & s sweet   # 4 (identical) matches;
s sugar | s sweet & s drink             # 4 (identical) matches:

Subject: Drinking Fewer Sugar-Sweetened Beverages May Lower Blood Pressure
Subject: Sugar-Sweetened Drinks Associated With Higher Blood Pressure
Subject: Drinking One 12oz Sugar-Sweetened Soft Drink a Day Can Increase the Risk of Type 2 Diabetes by 22 Percent
Subject: Soft-drink makers accused of using 'Big Tobacco playbook' - Controversial Coke ads spur debate about benefits, risks of consuming sugar-sweetened drinks

 ---------------------------------------

Solutions:

s drink & ~s sweet & s sugar    # 5 matches [(drink* AND sugar) NOT sweet]:

Subject: 'Less Is More,' When It Comes to Sugary, High-Caffeine Energy Drinks, Researchers Say
Subject: Coffee, Energy Drinkers Beware: Many Mega-Sized Drinks Loaded With Sugar, Nutrition Expert Says
Subject: Food choices matter in weight control: Potatoes, sugary soft drinks among biggest sources of added pounds
Subject: Drinking Green Tea With Starchy Food May Help Lower Blood Sugar Spikes
Subject: Fw: Drinking Green Tea With Starchy Food May Help Lower Blood Sugar Spikes

s drink & ~s sugar & s sweet    # 2 (different) matches  [(drink* AND sweet) NOT sugar];
s sweet & ~s sugar & s drink    # 2 matches [['permutated' - identical - search!):

Subject: Americans Like Their Drinks 'Sickeningly Sweet' but New Labeling May Make a Difference
Subject: Hold the diet soda? Sweetened drinks linked to depression, coffee tied to lower risk




More information about the Users mailing list