From: "Jerry Preston" <[EMAIL PROTECTED]> > I am trying to breakdown the following: > > Pin 60 contacted, height = -11, counter = 1 > > with > > /(\w+)\s+(\d+)\s+(\w+),\s+(\w+)\s+\=\s+-(\d+),\s+(\w+)\s+=\s+(\d+)/;
/(\w+)\s+(-?\d+)\s+(\w+),\s+(\w+)\s+\=\s+(-?\d+),\s+(\w+)\s+=\s+(- ?\d+)/; The ? makes the minus sign optional. HTH, Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]