#178 Unhandled Exception Error in Find / Replace (regular expr)

v2.1
open-fixed
Editor (89)
5
2006-04-30
2006-04-05
Anonymous
No

I tried to replace EOLs from my file and used the
regular expression "$". The editor told me, that no
matches could be found.
My next try was to use "*$" - here the editor responded
with an error message: "An unhandled Exception was
raised. Message: TRegExpr(comp): ?+*{Follows Nothing
(pos 1). Class: TTBItem".

Finding empty lines with "^$" works.

I use syn Version 2.1.0.46 on a Windows 2000 PC.

Discussion

  • Paul Gardner

    Paul Gardner - 2006-04-30

    Logged In: YES
    user_id=88638

    Fixed in CVS

     
  • Paul Gardner

    Paul Gardner - 2006-04-30
    • milestone: --> v2.1
    • assigned_to: nobody --> paulggardner
    • status: open --> open-fixed
     
  • Paul Gardner

    Paul Gardner - 2006-04-30

    Logged In: YES
    user_id=88638

    Fixed for v3.0

    Example was incorrectly an incorrectly formed regular
    expression (at least to our regex engine) and there was not
    trap on the exception that was thrown.

     

Log in to post a comment.