On Fri, May 04, 2007 at 10:05:13AM -0400, Craig Constantine wrote: > I don't think that tilde (~) does what you think. In perl regular > expressions, I don't think you can negate (that's a common meaning for the > tilde in programming) the clustering pattern match with a leading tilde... No, no, in bigsister =~ means a regular expression comparison (like in perl), whereas = means just plain equal. > I think ~(foo|bar) would only match a "foo" or a "bar" with a literal "~" > in front... No. =~(foo|bar) means foo or bar, whereas =(foo|bar) mean equal to "(foo|bar)" /Niels -- Niels Baggesen - @home - Århus - Denmark - suppressed The purpose of computing is insight, not numbers --- R W Hamming ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bigsister-general mailing list suppressed https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.