To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.modelsOpen lugnet.cad.dat.models in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Models / 463
    DAT line parsing (was: Re: Datsville: crane2 (exponents?)) —Todd Lehman
   (...) My bad. 'Twas a bug in the code in the ldraw.cgi script on the server which recognized DAT content. It wasn't expecting 'e' exponents in numbers. The old regex (just the non-type-0 portion): /^ \s* [1-5] (?: \s+ [0-9]+ ) (?: \s+ \-? [0-9]* \.? (...) (25 years ago, 14-Sep-99, to lugnet.cad.dat.models, lugnet.cad.dev, lugnet.admin.general)
   
        Re: DAT line parsing (was: Re: Datsville: crane2 (exponents?)) —Jeff Stembel
   (...) <Snipped Regex stuff> (...) Those numbers weren't generated by Turbo Pascal (LEdit). They were generated by MLCad, the recent Windows LDraw program. This is one of the reasons I haven't used it very extensively. :) Jeff (25 years ago, 14-Sep-99, to lugnet.cad.dev)
 

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