ZTree.com  | ZTreeWiki  | ZEN  | ZEST  | About...  

 Index   Back

Case Sensitivity?   [Notice]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Apr 08,2009 at 11:24
In Response to: Case Sensitivity? (Oliver Pretzel)

> Matches files like JOBS.TXT, whereas Ian's ZBarRE will only do that
> with pcre's rather non-standard (?i) insert to make the search case
> insensitive.
>
> I suppose this is a pecularity of MS's javascript implementation of
> regex.

No, that's me trying to make it easier to use regexes in the case-insensitive environment of ZTreeWin. The script line reading
var rexFile = new RegExp(match[1], 'i');
can be altered by removing the “, 'i'” to become case-sensitive, if you prefer.

That script was more a proof-of-concept than a complete bulletproof solution. :-)
A lot more options could be implemented, like the ones Ian provided.


--
Martijn

355 views      
Thread locked
 

Messages in this Thread

 
82,796 Postings in 10,445 Threads, 196 registered users, 19 users online (1 registered, 18 guests)
Index | Admin contact |   Forum Time: Sep 9, 2010 - 4:29 pm CDT  |  Hits:5,288,578  (2,543 Today )
RSS Feed