To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / *2245 (-5)
  Re: Strip surplus white space with Perl
 
(...) I hate replying to myself, but I realize that I pasted the wrong answer into my initial response now, and totally missed the boat on my response to David. Ooops. :) This should do it: $string =~ s/(\t\t+| +|\r\r+|\n\n+|\f\f+)...&,1,1)/eg; Yes, (...) (24 years ago, 29-Oct-00, to lugnet.off-topic.geek)
 
  Re: Book recommendations?
 
I haven't read "Cryptonomicon", so I don't know what type of book it is. One book I loved though, was "Jurassic Park". It's better than the movie, it's bigger, and has a different ending. --Tobias (...) (24 years ago, 29-Oct-00, to lugnet.off-topic.geek)
 
  Re: GIF licensing
 
Um, well, I dunno if "GifBuilder" for Mac is a commercial program... But since I haven't done it myself, then I guess it's OK. BTW, how is Unisys going to track me down anyway? --Tobias (...) (24 years ago, 29-Oct-00, to lugnet.off-topic.geek, lugnet.publish)
 
  Re: Strip surplus white space with Perl
 
(...) Ahh, but what happens if you have a carriage return followed by a space? The second method eliminates the space and leaves the carriage return, which isn't what he asked for. He wanted a way to replace multiple instances of similar whitespace (...) (24 years ago, 29-Oct-00, to lugnet.off-topic.geek)
 
  Re: GIF licensing
 
(...) I don't think that's safe. Unisys' behavior on this point has been erratic. (24 years ago, 29-Oct-00, to lugnet.off-topic.geek, lugnet.publish)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR