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 / 4439
  Re: Regular Expression help?
 
(...) I think this will only find img tags that have a border property, but I need to find img tags that are missing the border property. (...) Thanks for the kind offer. :-) I suspect once we can isolate the lines that are offensive that it will (...) (21 years ago, 8-Jul-03, to lugnet.off-topic.geek)
 
  Re: Regular Expression help?
 
(...) doh, of course. However, unless your editor allows to do negative lookaheads, I don't think you can use a regexp to find a missing border tag. (...) hmmm. One way to do it would be to replace all the img tags that DO have the border attribute, (...) (21 years ago, 8-Jul-03, to lugnet.off-topic.geek)
 
  Re: Regular Expression help?
 
(...) Ah. I had my little O'Reilly Perl 5 pocket reference out and was playing with "zero-width positive/negative look-ahead/behind assertion"s before I began this thread, but since I haven't used them before I wasn't sure how they worked. In any (...) (21 years ago, 8-Jul-03, to lugnet.off-topic.geek)

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