|
From: Sharma, S. <sus...@hp...> - 2006-12-14 14:47:48
|
Not able to send the attachment.
=20
Just forwarding again,
=20
-Thanx
________________________________
From: Sharma, Sushil=20
Sent: Thursday, December 14, 2006 8:15 PM
To: 'ICU support mailing list'
Subject: [icu-support] C API's for Unicode Regular expressions
Got failure message,
Sending again.
=20
Thanx,
Sushil
________________________________
From: Sharma, Sushil=20
Sent: Thursday, December 14, 2006 8:11 PM
To: 'ICU support mailing list'
Cc: Babu, Sanjeev Kumar; Kalathur, Subrahmanyan H; Gopinathan, Ashok; =
Gyani, Param J
Subject: [icu-support] C API's for Unicode Regular expressions
Hi George,
I tried building the source in some of the Unix flavors.
I was not able to build on HP-UX 11.11 and Solaris 5.8. Got =
compilation error while compiling .cpp files.
Is there some specific requirements(cpp compilers) for compiling =
.cpp files?
I was using c++ compiler on Solaris and HP-UX11.11 for compiling =
.cpp files.
But I was successfully able to build on Linux 2.4 machine. There =
I was using gcc and g++ compiler.
I tried the sample code for regular expressions(ugrep).
It was working fine for ASCII regular expression but I was not =
able to use that code for regular expressions in
unicode values. I tried some regular expressions in unicode =
values but did not get the expected result.
Is there anything else we need to do in that ugrep.cpp code to =
handle utf-8 values?
In the code I saw that it was taking care of BOM character also =
but still the regular expression match was not write.
Does this code handles regular expressions in unicode values?
I am attaching the input file(unicode.txt) which I was using to =
run this program.
You can use Arial MS Unicode font to view this file properly.
=20
And following is the command(file name command.txt) for running =
that binary.
/export/sushil/regexp/icu/source/samples/ugrep/ugrep =
=B7=C7=C3=E6=B8=EF+ unicode.txt
After running this I did not get the expected result.
=20
Could you please help me out in resolving these problems.
With Regards,
Sushil Sharma
-----Original Message-----
From: icu...@li... =
[mailto:icu...@li...] On Behalf Of George =
Rhoten
Sent: Wednesday, December 13, 2006 10:43 PM
To: ICU support mailing list
Subject: Re: [icu-support] C API's for Unicode Regular expressions
Yes, there is a C wrapper around the C++ API. More information about it
can be found in the API reference
http://icu.sourceforge.net/apiref/icu4c/uregex_8h.html
Sample code using the C++ API can be found in the sample directory of =
ICU
(the C API usage isn't much different).
http://source.icu-project.org/repos/icu/icu/trunk/source/samples/ugrep/
While it may not answer your specific question, you can look at the
overview of the ICU libraries in the readme.html, and the ICU User's
Guide.
http://dev.icu-project.org/repos/icu/icu/tags/release-3-6/readme.html#How=
ToPackage
http://icu.sourceforge.net/userguide/design.html#depchart (Yes, the =
chart
is a little out of date)
George Rhoten
IBM Globalization Center of Competency/ICU San Jos=A8=A6, CA, USA
http://www.icu-project.org/
http://icu.sourceforge.net/
"Sharma, Sushil" <sus...@hp...>
Sent by: icu...@li...
12/13/2006 02:24 AM
Please respond to
ICU support mailing list <icu...@li...>
To
<icu...@li...>
cc
Subject
[icu-support] C API's for Unicode Regular expressions
Hi,
I am sushil sharma working in Hewlett Packard,Bangalore in HP
Output Management team.
I was evaulating the ICU api's for handling unicode regular
expressions for our current project.
I can see that you have API's in C++ only.
I just wanted to ask if you have API's in C also.
Basically I am searching some API's , which can handle regular
expression in C language.
Along with that is that any kind of documentation which tells =
that
how to use these api's.
As I want to use these api's only for unicode regular =
expressions
I want to know what all Libraries to include.
It will be very helpful if you could provide those information.
-Regards,
Sushil Sharma
-------------------------------------------------------------------------=
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share =
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
_______________________________________________
icu-support mailing list - icu...@li...
To Un/Subscribe: =
https://lists.sourceforge.net/lists/listinfo/icu-support
|