|
![](/i/fill.gif) |
Invisible escreveu:
>> Nice straw man.
>
> Wasn't his problem that he didn't have a brain?
>
>> (And "foo*bar" still doesn't mean what you think it means
>> as a regex.)
>
> So, what, it means
>
> string "fo"
> many (char 'o')
> string "bar"
>
> Or am I reading this wrong?
* means 0 or more of the previous pattern, in this case, letter 'o'.
+ means 1 or more.
"fobar" is accepted. The correct pattern should be foo+bar or foo.*bar.
--
a game sig: http://tinyurl.com/d3rxz9
Post a reply to this message
|
![](/i/fill.gif) |