@TiddlyTweeter

I open my TiddlyWiki in firefox with a profile that uses the firefox add-on 
"*Export Tabs URLs*".
e.g. this add-on extracts title and url from this web site as follows:

[[Regular Expressions in filters ... VARIANT methods & WEIRDNESS - Google 
Groups |https://groups.google.com/forum/#!topic/tiddlywiki/l-OSoKg4j4E]] 
<br/> 



[image: 25-09-_2019_23-09-09.png]

At the red arrow I can reduce the selection with RegExp from the offer of 
all opened tabs in this firefox profile to usually one URL. 

And I want as little typing as possible. 

I want to type as little as possible, but sometimes I need an AND to be 
able to reduce similar pages to one.

To select the third opened tab I have to type "*reg*". 

Regards 
Cd.K 



On Wednesday, September 25, 2019 at 10:20:22 PM UTC+2, @TiddlyTweeter wrote:
>
> Lookaheads are neat when needed. 
>
> They will not make regex any easier to encode.
>
> WHY do you need them? 
>
> I'd be intrerested to see the data match!
>
> Best wishes
> TT
>
> On Wednesday, 25 September 2019 17:41:12 UTC+2, Cd.K wrote:
>>
>> I would use regex much more often once I have solved this fundamental 
>> question: 
>>
>> How to combine with logical AND in RegExp? 
>>
>> For logical OR it's as easy like this: 
>>
>> pattern_a|pattern_b 
>>
>> This means literal searching for "pattern_a" OR "pattern_b".
>>
>>
>> For the AND case I have worked out the following:  
>>
>> (?=.*pattern_a)(?=.*pattern_b)
>>
>>
>> Is AND easier to encode?
>>
>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e174e323-3586-42e9-bc2e-d2947257df3d%40googlegroups.com.

Reply via email to