#38 Exception for certain replacement strings

None
open
5
2014-04-23
2014-04-21
Helios
No

In the "Replace With..." textbox, ending the replacement string with a single backslash (i.e. one that doesn't escape anything) causes an exception (presumably StringIndexOutOfBoundsException) and displays the exception message on the Info column, instead of something that actually tells the user what went wrong. Something like "regex parsing error" or "incomplete escape sequence" would be more useful.

Discussion

  • Olivier Wehner
    Olivier Wehner
    2014-04-23

    That's an interesting case that points out a usability shortage as the replacement string is not actively parsed and validated before it is applied.

    Thank you for reporting this issue.

     
  • Olivier Wehner
    Olivier Wehner
    2014-04-23

    • labels: exception, StringIndexOutOfBoundsException --> exception, Replace With, replacement
    • assigned_to: Olivier Wehner
    • Group: -->
     


Anonymous


Cancel   Add attachments