i did that with this line
my ($killer, $did, $whom, $by, $what) = /^(\S+) (\S+) (\S+) (\S+) (\S+)/; $1 = $killer and so on, thought that it might be easier for ppl to understand if i put it out as $1 , $2 .. in the worst case i had a user with 2 spaces in his name like "Elephant Master Killer" .. here is an true line from the log: ^7Kore^7Adam killed BEST I TEST by MOD_MACHINEGUN i'm fairly new to regexps also, there should be some way to solve it with it , but i dont know how :( /Adam On Wed, Dec 04, 2002 at 10:26:14AM -0500, Pete Emerson wrote: > How do you determine which pair(s) of words to group together? Are you > always grouping items 3 and 4, or might you sometimes want "monkey > killed" or "killed elephant" or "with stone" ? There needs to be some > way of determining when to pull out a pair and when not to. > > [EMAIL PROTECTED] wrote: > > >but when someone has a name with spaces > >" monkey killed elephant master with stone " > > $1 $2 $3 $4 $5 $6 > >I want "elephant master" to be read in as one word into $3 instead of > >$3 and $4 .. > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]