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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/564970a2-b968-41c3-9cda-71de38d2aaa8%40googlegroups.com.

Reply via email to