Community
Participate
Working Groups
Build Identifier: Version: 3.6.2 Build id: M20110210-1200 The method FindReplaceDocumentAdapter.escapeForRegExPattern(String), when handed a character less that \x20, will often escape that character using the \xhh format. However, if the leading digit is a 0, the 0 will not be included in the escaped string. This leads to at least one defect in the base eclipse experience described below... plus my product is re-using this method so it would help my product to also fix this Reproducible: Always Steps to Reproduce: 1.Open a text editor 2. Engage find / replace 3. Enable regular expressions 4. Replace a character in your file with the escape sequence \x08 5. Now that character is in your text file 6. Close find \ replace 7. Select that character in the text editor 8. Re-engage find \ replace. 9. The Find dialog appears with the value \x8 in the Find text field. \x8 is not a valid regular expression escape sequence, so pressing find will give the user an error message saying as much.
Bug in FindReplaceDocumentAdapter.escapeForRegExPattern(String).
Fixed in master: ff9f8f3686f510c0a4a153225ebe8a5d4f092f9f