Originally posted by: ReelC00L
*nix?
Originally posted by: rootaxs
Does it have something to do with Alan Cox?
Originally posted by: notfred
Originally posted by: rootaxs
Does it have something to do with Alan Cox?
No, it has something to do with why 'x$' matched his name.
Originally posted by: notfred
Originally posted by: ReelC00L
*nix?
That's basically right, but can you tell me why? There's been enough blind guessing....
Originally posted by: caramel
i'm of the fairer sex, help me out here!
Originally posted by: Kiyup
Ha ha! I found the answer here
Originally posted by: notfred
Sine no one really got it, and I'm leaving soon:
$ is an anchor in regular expressions. If you're using some application that uses regular expressions, you can search for 'stuff' to look for the word stuff, or '^stuff' to look for lines that begin with the word stuff, or 'stuff$' to look for lines that end with the word stuff. Similarly, you can search for lines begiining with 'x' by using '^x' and lines ending with 'x' by using 'x$'. Hence, x$ matches anything that ends with x, which is basically the same set of unixes that *nix refers to: unix, linux, xenix, irix, etc.
Originally posted by: rootaxs
Originally posted by: Kiyup
Ha ha! I found the answer here
Apparently all those who tried guessing the right answer![]()
Hey Notfred, thanks for the explanation![]()
Originally posted by: CiberOriginally posted by: caramel
i'm of the fairer sex, help me out here!
Fairer sex?????? BUAHahahahaha.......hahaha....... You're trying to be funny right???? hahahaha.......women fair??? ahahahahaha......lolololol
Ah, see in a windows programming context $ doesn't mean that!Originally posted by: notfred
Sine no one really got it, and I'm leaving soon:
$ is an anchor in regular expressions. If you're using some application that uses regular expressions, you can search for 'stuff' to look for the word stuff, or '^stuff' to look for lines that begin with the word stuff, or 'stuff$' to look for lines that end with the word stuff. Similarly, you can search for lines begiining with 'x' by using '^x' and lines ending with 'x' by using 'x$'. Hence, x$ matches anything that ends with x, which is basically the same set of unixes that *nix refers to: unix, linux, xenix, irix, etc.
Originally posted by: Skoorb
Ah, see in a windows programming context $ doesn't mean that!
Originally posted by: notfred
Originally posted by: Skoorb
Ah, see in a windows programming context $ doesn't mean that!
hahaha, I'd love to hear your explaination of what $ means in "a windows programming context"![]()
Many of the VB [that's Visual Basic - something that microsoft made - they also made windows, so I think this counts] functions that deal with strings come in two flavors - one that ends with a dollar sign ("$") and one that doesn't. An example is Left$ and Left. The function that ends with the dollar sign returns a variable of type String, whereas the other function (without the dollar sign) returns a variable of type Variant.Originally posted by: notfred
Originally posted by: Skoorb
Ah, see in a windows programming context $ doesn't mean that!
hahaha, I'd love to hear your explaination of what $ means in "a windows programming context"![]()
