Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
Glenn Linderman wrote: > It looks like you're assuming the 8th letter must be at the beginning or > end of the 7 letters on the rack. However, depending on the open space > on the board, the 8th letter (already on the board) could really be > placed at any position in the resulting 8 letter wo

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
Glenn Linderman wrote: > On approximately 11/6/2004 8:48 PM, came the following characters from > the keyboard of $Bill Luebkert: > >>Glenn Linderman wrote: >> >> >> >>>Let's say you had AERSTTT in your rack (yep, that's the thing that >>>holds the tiles). Now, clearly that matches the wor

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
Ted Schuerzinger wrote: > $Bill Luebkert graced perl with these words of wisdom: > > >>Ted Schuerzinger wrote: >> >> >>>I'm an avid, but not very good, Scrabble player. Last night, I was >>>playing, and suffered a major brain cramp when I got a rack of four >>>vowels *and* two blanks: AEIUR*

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
Glenn Linderman wrote: > Let's say you had AERSTTT in your rack (yep, that's the thing that > holds the tiles). Now, clearly that matches the word "tatters". But > how would you make the regex that finds it, but doesn't find "batters", > "matters", "hatters", "patters", and even "praters"

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread Ted Schuerzinger
$Bill Luebkert graced perl with these words of wisdom: > Ted Schuerzinger wrote: > >> I'm an avid, but not very good, Scrabble player. Last night, I was >> playing, and suffered a major brain cramp when I got a rack of four >> vowels *and* two blanks: AEIUR**. I couldn't come up with anythin

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
Ted Schuerzinger wrote: > I'm an avid, but not very good, Scrabble player. Last night, I was > playing, and suffered a major brain cramp when I got a rack of four vowels > *and* two blanks: AEIUR**. I couldn't come up with anything at the time, > so this morning wrote a simple Perl script

Regex question: Multiple instances of the same character

2004-11-06 Thread Ted Schuerzinger
I'm an avid, but not very good, Scrabble player. Last night, I was playing, and suffered a major brain cramp when I got a rack of four vowels *and* two blanks: AEIUR**. I couldn't come up with anything at the time, so this morning wrote a simple Perl script using a regex: if ($_ =~/\b[a-z]

Re: Extracting Images Question

2004-11-06 Thread $Bill Luebkert
Allan wrote: > I wish it was that easy, I could have a script ftp and grab them. Our > company is very funny and does not work well between the different depts, so > getting ftp access to a directory on another computer on the other side of > the world won't happen. How hard is it to do what I sta

RE: Extracting Images Question

2004-11-06 Thread Allan
I wish it was that easy, I could have a script ftp and grab them. Our company is very funny and does not work well between the different depts, so getting ftp access to a directory on another computer on the other side of the world won't happen. How hard is it to do what I stated in my original pos