I am trying to find data that has accented characters. I've tried this:
select *
from xml_tmp
where regexp_like (XMLTYpe.getClobVal(xml_tmp.xml_data), unistr('\0090'))
And it works. It finds all records where the XML data field contains É. The problem is that it only matches the upper-case E with an accent. I tried to write a more generic query to find ALL data with accented vowels (a, e, i, o, u, upper and lowercase, with any accents) using equivalence classes. I wanted a regex to match only accented vowels, but I'm not sure how to get it, as equivalence classes such as [[=e=]]
match all e's (with or without accents).
Also, this does not actually work:
select *
from xml_tmp
where regexp_like (XMLTYpe.getClobVal(xml_data),'É');
(using Oracle 10g)