reinholdk wrote: 
> I was referring to the 'ignoreDirRE' option, but actually I never used
> any of your options. :)
> 
> 
> 
> In short, a regular expression is a string of characters of which some
> have special meanings and some are just used literally. It allows
> checking for a (partial) match in an input string. So something like the
> wildcards * and ? for file and folder names in Windows but much more
> powerful. Since they are easy to handle in a program, developers usually
> love them but since they are sometimes hard to get it right, users often
> hate them. :)
> 
> Try it like bpa suggested, but I think you could do it without the
> slash, so > 
Code:
--------------------
  >   > ignoreDirRE: 'Y = OK'
--------------------
> > 
> 
> The 'Y = OK' here is the regular expression used to find a match in
> the folder paths. In this case it's just used literally since it
> doesn't contain characters with special meaning for the regular
> expression.

Ah, so with the help from you two I finally getting somewhere :-) :-)
Wouldn't say that I've control in anyway though but at least now
understand better. One thing I learned is that actually these "two
options" I'm dabbling about seemingly are the same thing! I followed
your example and just put  Y = OK in the server.prefs file and then Y =
OK showed up in the textbox of the plugin in the LMS GUI!

But now before another question I've I need to ask something to avoid
further confusion, from bpa's post and also from yours; does ' '
(Apostrophe or single quote) or " " (Quote, quotation mark ) actually
mean something when put in front and end of a line refering to regular
expressions? Reason I ask is I thought it's just something one do with
the meaning "this text here between the quotes is just an example" when
writing in text trying to explain something? I myself have always used
the " " characters like that but noticed the '  ' and of course I know
the characters are not the same but actually thinking that some people
use '  ' others (like me) use  " " ...(hope you understand what I'm
trying to ask? sorry my native lanuage is not english)

And then my real question, so ok now I understand better but what
character or what would one need to do if having say some folders with
WAV in folder name and MP3 in some other folders name and wanting the
scanner _to_miss_both_. .Eg, _not_scan_any_folder_ with _WAV_ or
_MP3__in folder name? ( As the best I could come up with I tried Y = OK
+ MP3 but naturally that didn't cut it :-/)


------------------------------------------------------------------------
doggod's Profile: http://forums.slimdevices.com/member.php?userid=46431
View this thread: http://forums.slimdevices.com/showthread.php?t=112642

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to