#4312 Select And Find Next misbehaves with regex metacharacters

Next_Major_Version
open
nobody
None
5
2013-06-07
2013-05-13
Jason Harper
No

v6.3.2 - the 'Select and Find Next' command (Ctrl-F3) behaves in an unexpected way if the Find dialog currently has the Search Mode set to 'Regular expression', and the currently selected text contains any regex metacharacters. I would expect that this command always searches for literal matches of the selected text, but in this case it will find the wrong thing (or nothing at all) due to interpretation of the metacharacters. Either it should revert to normal search mode, or it should enter a search string with appropriate escaping for anything that would be misinterpreted as a metacharacter.

Discussion

  • Jim Michaels
    Jim Michaels
    2013-06-07

    still an issue with 6.3.3. see attachment text file for example. sf.net tracker wiki is bad for putting in code.