[Users] How to put a horizontal tab character into a filter/processing rule

Leon Fisk lfisk at iserv.net
Thu Feb 12 17:55:46 CET 2015


On Thu, 12 Feb 2015 16:17:12 +0000
Paul <claws at thewildbeast.co.uk> wrote:

>On Thu, 12 Feb 2015 09:39:36 -0400
>Leon Fisk <lfisk at iserv.net> wrote: 
>
>> I want to have a processing/filter definition that uses the tab (HT)
>> character. So far I haven't found a way to enter it other than copy
>> & paste a tab character. Even that doesn't work completely though.
>> The next time you make any kind of change to that rule Claws will
>> change the "tab" to ":" in the definition. For example, this:
>> 
>> body_part regexpcase "\\/l\\/lt|[a-z][	][a-z][
>> ][a-z]|uniondale"
>> 
>> will become:
>> 
>> body_part regexpcase "\\/l\\/lt|[a-z][:][a-z][:][a-z]|uniondale"
>> 
>> I've tried various versions of "\t", "[\x09]", [\x009]"... no luck.
>> 
>> Is there anyway to do this and have it stay longer than the next
>> edit?
>
>Probably you want to use \\t if editing by hand, or \t if using the
>dialogue.
>
>with regards
>
>Paul

First, thanks for the reply.

Have you tried this? because I can't get it to work. Example:

body_part regexpcase "\\/l\\/lt|[a-z]\\t[a-z]\\t[a-z]|uniondale"

-- 
Leon
Claws 3.10.0-git25, Ubuntu Karmic-Lucid



More information about the Users mailing list