Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343716 - DBCS4.1: Not search high surrogate characters with regular expressions \uXXXX
Summary: DBCS4.1: Not search high surrogate characters with regular expressions \uXXXX
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 02:56 EDT by Masaihko Maedera CLA
Modified: 2011-04-25 11:49 EDT (History)
2 users (show)

See Also:


Attachments
uD842_uDF9F.txt, encoded with UTF-8 (53 bytes, text/plain)
2011-04-25 02:59 EDT, Masaihko Maedera CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaihko Maedera CLA 2011-04-25 02:56:44 EDT
Build Identifier: I20110419-2200

OS: Red Hat Linux 6
Eclipse SDK 4.1
JRE: IBM Java 1.6.0

High surrogate characters can not be found with regular expression \uXXXX,
from the search/find/replace dialog.
On the other hand, low surrogate characters can be found.

Reproducible: Always

Steps to Reproduce:
1.Import uD842_uDF9F.txt, attached to this bug report, encoded with UTF-8.
2.[Search] -> [Search] -> [File Search], then check Regular expressions.
3.Type "\uD842" as "Containing text:".
4.Click [Search]. but it does not work.
or
5.Open uD842_uDF9F.txt
6.[Edit] -> [Find/Replace], then check Regular expressions.
7.Type "\uD842" as "Find:".
8.Click [Find], but it does not work.
Comment 1 Masaihko Maedera CLA 2011-04-25 02:59:33 EDT
Created attachment 193979 [details]
uD842_uDF9F.txt, encoded with UTF-8
Comment 2 Dani Megert CLA 2011-04-25 11:49:20 EDT
We use the search support from the JRE. Please file the bug against the JRE you are using.