Hi Josiah,
 I will start implementing them and will let you know if I successful.

--Mohammad

On Wednesday, January 8, 2020 at 12:45:23 PM UTC+3:30, TiddlyTweeter wrote:
>
> Mohammad wrote:
>>
>> Any other flags useful here?
>>
>
> Ciao Mohammad
>
> My last post covered the "scope" flags.  The remaining JS flags at MDN 
> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#Syntax>are:
>   
> i s u y.
>
> i - That is already in Commander SNR.
>
> s - *Could be very useful *BUT at the moment Firefox and Edge *do not 
> *support 
> it.
>      It is supported by Chrome, Safari & Opera.
>      "s" enables the meta-character "." to match line endings.
>      *Probably NOT a good idea to include it until FF JS supports it.*
>      In any case, there is a simple workaround in regexp by using 
> character class "[\s\S]".
>
> u - Unicode support so that the match pattern is interpreted as a sequence 
> of Unicode code points
>      I'm not clear how this would interact in TW. 
>      At the moment I think demand for it in TW is close to zero. Its 
> advanced regex to use it.
>      So *probably not needed*.
>

--this is interesting 

>
> y - Matches from the index indicated by the lastIndex property of the 
> expression in the target.
>      I think the use cases would be of very limited numbers.
>      So *probably not needed*.
>
> So, overall, with 4 scope flags of my last post ("f", m, g, gm) and case 
> insensitivity (i) I think it should be enough.
>

Good! 

>
> My thoughts!
> Best wishes
> Josiah
>
>  
>
>> I also try to make the interface simple! Newbies should be able to 
>> perform SnR!
>>
>> --Mohammad
>>
>> On Thursday, January 2, 2020 at 6:05:06 PM UTC+3:30, TiddlyTweeter wrote:
>>>
>>> I appreciate your comments contribution.  I hope I can receive your 
>>>> feedback on Commander features and if there are other features in your 
>>>> wish 
>>>> list.
>>>>
>>>
>>> One of the things in TW Commander is Regular Expression support in a raw 
>>> form that is extremely powerful and useful ...
>>> I have three related requests ...
>>>
>>> (1) that  it supports "mg" flags simultaneously for regex; at the moment 
>>> it can run in "m" or "g", but "mg" flags combined is best (pass most 
>>> flexibility to the JS Engine).
>>>
>>>
>>> (2) an issue with applying regex widely in TW  is "recovering" if you 
>>> make a mistake! 
>>>
>>>      So integration of UN-delete type functions (Trash-Bin) is a very 
>>> good idea!
>>>
>>>
>>> (3) I'm not sure if its possible in Commander, but the downside of 
>>> applying changes on a selection list of Tiddlers is danger of getting it 
>>> wrong. 
>>>
>>>                 I wonder if we could have a "step-through"? Meaning 
>>> something like you change the first one. Then look at it to check & 
>>> confirm. 
>>>                 Then the next, and so on, till you are happy. 
>>>                 Then click "Change ALL". 
>>>                 (In my mind is search-and-replace in word-processors 
>>> which lets you SEE a result before you confirm it)
>>>
>>> TW Commander is a brilliant work. The architecture of it nicely modular.
>>>
>>> Best wishes
>>> Josiah
>>>
>>>   
>>>
>>>

-- 
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/97b14767-cb09-4048-bc5b-4dca9d606cc2%40googlegroups.com.

Reply via email to