I like having two modes of search, "regular" and - should I call it "casual"? :)
So I keep chkRegExpSearch unchecked and use "/.../" when I need a regular search. Here is the problem - I want the casual search to retain it's casualness provided by having chkCaseSensitiveSearch unchecked. But I expect the regular search to be very punctual with my regular expressions and not modify them in any way, especially in such a debilitating and inoverrideable way as adding "i" flag. Default TW search: =============== * The logic behind combining chkRegExpSearch and chkCaseSensitiveSearch is borked. Regular expressions are case sensitive. The best would be (and I know Udo had already suggested this) to remove the chkRegExpSearch option and have RegExp search invoked via "/.../" by users who know RegExp and realise that it is only natural for RegExp to disregard the chkCaseSensitiveSearch flag. * Not sure if this is doable but it would be great if the search flags could be adapted to the context of TiddlyWiki in a meaningful way, for example limit the search to the story only and use "g" for global search? YoursearchPlugin: =============== Regular expression search (at least the one invoked explicitly using "/.../" syntax) should be case sensitive and not be driven by the chkCaseSensitiveSearch option. --R --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

