I am using following Regular expression to decode a response data.
wxString s = "[-|*|>]([[])([[:digit:]]+):([[:digit:]]+)[]]([[:print:]]+)(\r)"
In English locale it works well,
But in German Locale it fails, due to some german characters which are not in English (ä ö ü ß)
It is with the [:print:] command I guess.
I need a help on this issue
Range
Regular Expressions
Regular Expressions
Range
-
- Experienced Solver
- Posts: 72
- Joined: Fri Feb 20, 2009 7:13 pm
- Location: $(#wx)\src
Re: Regular Expressions
I'm confused. Are you trying to pass values to wxString s called digit and print? Is this C++?rangana wrote:I am using following Regular expression to decode a response data.
wxString s = "[-|*|>]([[])([[:digit:]]+):([[:digit:]]+)[]]([[:print:]]+)(\r)"
In English locale it works well,
But in German Locale it fails, due to some german characters which are not in English (ä ö ü ß)
It is with the [:print:] command I guess.
I need a help on this issue
Range