Menu

#910 SearchParse regression in 2.45

2.0 Series
closed
Scripting (211)
5
2009-06-10
2009-06-09
No

I was using SearchParse in 2.44 but it no longer works as it did before. Possible regression from 2680110?

; Get the Fiddler version # out of AssemblyInfo.cs
!searchparse /file ..\application\assemblyinfo.cs '[assembly: AssemblyVersion("' VER_FIDDLER '"')

Here's what AssemblyInfo.cs contains:

[assembly: AssemblyVersion("2.2.3.0")]

Discussion

  • Eric Lawrence

    Eric Lawrence - 2009-06-09

    the error I see in the output is:

    !searchparse: starting string "[assembly: AssemblyVersion("" not found in file!
    Error in script "Fiddler2.nsi" on line 7 -- aborting creation process

     
  • Nobody/Anonymous

    Just ran a test with some sample data and a script, and, after some back-and-forth with Afrow UK, determined that the problem is that !searchparse no longer handles linebreaks that aren't CRLF correctly. It broke if the test file had LF-only line breaks. Is this the problem?

     
  • Amir Szekely

    Amir Szekely - 2009-06-10
    • assigned_to: nobody --> justin1014
     
  • Nobody/Anonymous

    Got it, fixed in svn 5992, thank you!

     
  • Justin Frankel

    Justin Frankel - 2009-06-10
    • status: open --> closed
     
  • Justin Frankel

    Justin Frankel - 2009-06-10

    Thanks, fixed.

     

Log in to post a comment.