Exception for certain replacement strings
Brought to you by:
olivierwehner
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.
Anonymous
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.
Such errors are now catched and displayed. Fixed in 2.0