[Pyparsing] To parse any language character set
Brought to you by:
ptmcg
From: Ujjaval S. <usm...@gm...> - 2008-10-27 04:39:56
|
Hi everyone, I need to parse strings with mix of English and any other unicode characters from any Asian or European languages. The format of strings is like following: ABC|[any unicode character]|[any unicode character]|XYZ In above string, I have ABC and XYZ as literals which are start and end of the string while '|' is the delimiter for the content in between start and end of the strings. How can I use pyparsing to parse this kind of string? Here in the outcome I should have a list of unicode character strings which are in between ABC and XYZ in a form of list. These strings are separated by '|' in between. Thanks, Ujjaval |