doggod wrote:
> 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)
LMS prefs are in two parts - the name of the pref and the value. The
value is usually a string with no blanks (e.g. a number or a
directorypath) but if there is a space or quotes in the strings then
the value must be quoted. There are rules for single vs double quotes
- you have a simple requirement so stick to single quotes at beginning
and end and make sure you have no other single quotes. No point making
life too complicated.
> 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 :-/)
For that you need either a complex "regular expression" or simplify your
problem - I'd simplify your problem as REs can be difficult to debug.
REs have a special syntax of their own with 12 characters / ? @ * + { }
( ) | ^ $ which do special things and some opther characters have other
uses.
If you want to use really REs - study - a single post will not answer
the question - it'll just lead to more questions.
My advice - change the problem.
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112642
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix