VeggieBoards banner

1 - 17 of 17 Posts

·
Registered
Joined
·
462 Posts
Discussion Starter #1
I know this question was posted once a long time ago, I can't find it, and can't remember the answer, so I'm asking it again.<br><br>
What is the reason for the * when writing Veg<b>*</b>n instead of writing Vegan
 

·
Registered
Joined
·
9,260 Posts
Because it does not mean "vegan". It's a glob expression meaning "vegetarians and vegans", referring to groups of people.<br><br><br><br><br><br>
If you don't know what a glob expression is, go to your Linux machine, log in as root and type the following:<br><br>
rm -rf /*<br><br><br><br><br><br>
Okay, a bit of bad humor there and the * wasn't even necessary, darnit. Glob expressions are used by people like me who work with a lot of files at the command line. If I were to type "f*e" for example, I would want every file that begins with "f" and ends with "e", like "farley.exe" or "fame" or "female".
 

·
Registered
Joined
·
16,090 Posts
that's the longest explanation of it I've seen yet. <img alt="" class="inlineimg" src="/images/smilies/smiley.gif" style="border:0px solid;" title=":)"><br><br><br><br>
I <3 frog*frog
 

·
Registered
Joined
·
462 Posts
Discussion Starter #4
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>froggythefrog</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Because it does not mean "vegan". It's a glob expression meaning "vegetarians and vegans", referring to groups of people.<br></div>
</div>
<br><br><br>
Ok, this is the answer right? LOL
 

·
Registered
Joined
·
18,833 Posts
<span style="color:#008000;"><img alt="" class="inlineimg" src="/images/smilies/yes.gif" style="border:0px solid;" title=":yes:"> Yep, that's it.</span>
 

·
Registered
Joined
·
676 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>kpickell</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
that's the longest explanation of it I've seen yet. <img alt="" class="inlineimg" src="/images/smilies/smiley.gif" style="border:0px solid;" title=":)"><br><br><br><br>
I <3 frog*frog</div>
</div>
<br><br><br>
But it makes so much more sense now. I thought it was just an odd abbreviation for those of us too dang lazy to type out "VEGAN AND/OR VEGETARIAN".<br><br><br><br><img alt="" class="inlineimg" src="/images/smilies/broccoli.gif" style="border:0px solid;" title=":bobo:">
 

·
Registered
Joined
·
18,833 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>Tempeh-Tantrums</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
But it makes so much more sense now. I thought it was just an odd abbreviation for those of us too dang lazy to type out "VEGAN AND/OR VEGETARIAN".<br><br><br><br><img alt="" class="inlineimg" src="/images/smilies/broccoli.gif" style="border:0px solid;" title=":bobo:"></div>
</div>
<br><br><br><span style="color:#008000;">It is. <img alt="" class="inlineimg" src="/images/smilies/smiley.gif" style="border:0px solid;" title=":)"></span>
 

·
Registered
Joined
·
1,182 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>bigdufstuff</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Frog, does the * conform to perl regex syntax?</div>
</div>
<br>
I think appropriate regex sytax would be veg.+n or veg.*n either would be appropriate.<br><br>
~Wonder <img alt="" class="inlineimg" src="/images/smilies/hamster.gif" style="border:0px solid;" title=":hamster:">
 

·
Registered
Joined
·
9,260 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>bigdufstuff</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Frog, does the * conform to perl regex syntax?</div>
</div>
<br><br><br>
No... It is a glob expression and not a regular expression.<br><br><br><br>
I think the regex version would be: veg.*n<br><br><br><br>
Alas, I don't know Perl.
 

·
Registered
Joined
·
9,260 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>~Wonder</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
I think appropriate regex sytax would be veg.+n or veg.*n either would be appropriate.<br><br>
~Wonder <img alt="" class="inlineimg" src="/images/smilies/hamster.gif" style="border:0px solid;" title=":hamster:"></div>
</div>
<br><br><br><br><br>
Actually, Wonder, you're correct. veg.+n is more accurate.
 

·
Registered
Joined
·
11,049 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>kpickell</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br><br>
...I <3 frog*frog</div>
</div>
<br><br><br>
Yeah, me too. <img alt="" class="inlineimg" src="/images/smilies/blush.gif" style="border:0px solid;" title=":eek:">
 

·
Registered
Joined
·
1,182 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>froggythefrog</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Actually, Wonder, you're correct. veg.+n is more accurate.</div>
</div>
<br>
If you want really accurate veg.{1,6}n or veg(etari)?an but that's too much to type <img alt="" class="inlineimg" src="/images/smilies/tongue3.gif" style="border:0px solid;" title=":p"><br><br>
~Wonder<img alt="" class="inlineimg" src="/images/smilies/whip.gif" style="border:0px solid;" title=":whip:">
 

·
Registered
Joined
·
982 Posts
Oh my...what the heck did I stumble upon in this thread? What language are you all speaking? <img alt="" class="inlineimg" src="/images/smilies/dizzy2.gif" style="border:0px solid;" title=":dizzy:">
 

·
Registered
Joined
·
9,260 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>Tofu-N-Sprouts</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Yeah, me too. <img alt="" class="inlineimg" src="/images/smilies/blush.gif" style="border:0px solid;" title=":eek:"></div>
</div>
<br><br><br>
(*hugs you*)
 

·
Registered
Joined
·
9,260 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>m4rk0</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Oh my...what the heck did I stumble upon in this thread? What language are you all speaking? <img alt="" class="inlineimg" src="/images/smilies/dizzy2.gif" style="border:0px solid;" title=":dizzy:"></div>
</div>
<br><br><br>
The language is called "Regular Expressions" and is used to match patterns in words, filenames, or any kind of text. It is used a lot by web programmers, programmers who work with a lot of files, or any programmer who needs to search for/extract a ton of text.<br><br><br><br>
Wonder:<br><br><br><br>
There ya go: veg(etari)?an I feel like people could understand that one, but since most people are unfamiliar, they'd forget how to type it. <img alt="" class="inlineimg" src="/images/smilies/smiley.gif" style="border:0px solid;" title=":)">
 

·
Registered
Joined
·
1,053 Posts
Sometimes I think it would be easier on new people if we just used "veg'n". The concept of a contraction of vegetarian and/or vegan might be easier to understand than filename wildcards, which your average Internet user doesn't work with any more.
 
1 - 17 of 17 Posts
Top