FXText::findText

View: New views
3 Messages — Rating Filter:   Alert me  

FXText::findText

by David Vachulka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I have small problem with FXText::findText (possible bug?).
Fox (tested with Adie too) didn't find text included diacritic (e.g.
připojil) with option SEARCH_IGNORECASE

Thanks,
David Vachulka


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: FXText::findText

by adaml2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> ------------ Původní zpráva ------------
> Od: David Vachulka <david@...>
> Předmět: [Foxgui-users] FXText::findText
> Datum: 18.8.2009 17:10:36
> ----------------------------------------
> Hi all,
> I have small problem with FXText::findText (possible bug?).
> Fox (tested with Adie too) didn't find text included diacritic (e.g.
> připojil) with option SEARCH_IGNORECASE

The problem will be rooted to usage of this:
    Ascii::toLower(*to)==ch
in FXRex.cpp (several times).
I have no idea, how this Regexp engine works, so I can't even
guess, if it's easy to fix.

ada



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: FXText::findText

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 18 August 2009, David Vachulka wrote:
> Hi all,
> I have small problem with FXText::findText (possible bug?).
> Fox (tested with Adie too) didn't find text included diacritic (e.g.
> připojil) with option SEARCH_IGNORECASE

I've fixed some bugs in FXRex the other day, but unfortunately this isn't
one of them.

I wrote FXRex to make it easier to add unicode support with wide-characters;
but then I decided to support unicode using UTF-8 instead.  I believe the
internal storage of regex program in FXRex may need to be changed a bit to
better match UTF-8 strings.

Also, it is my intent to expand the character classes along unicode regex
guidelines.  All this is a lot of work, and due to my house-building in-
progress, I still haven't been able to get around to it.



                - Jeroen




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users