regular expression packages for 16-bit wide chars?

colas@aye.inria.fr (Colas Nahaboo)
Wed, 18 Oct 1995 17:05:45 GMT

          From comp.compilers

Related articles
regular expression packages for 16-bit wide chars? colas@aye.inria.fr (1995-10-18)
Re: regular expression packages for 16-bit wide chars? Steve_Kilbane@cegelecproj.co.uk (1995-10-23)
Re: regular expression packages for 16-bit wide chars? mhw@minster.york.ac.uk (1995-10-24)
Re: regular expression packages for 16-bit wide chars? cwf@research.att.com (Chris Fraser) (1995-10-27)
| List of all articles for this month |
Newsgroups: comp.compilers
From: colas@aye.inria.fr (Colas Nahaboo)
Keywords: lex, question
Organization: Koala Project, Bull Research France
Date: Wed, 18 Oct 1995 17:05:45 GMT

In order to implement regular expressions on strings of 16-bit chars
(wide-character japanese), I would like to know if:


* there is a regexp package doing this? (my net searches gave me no result)


* is is possible to convert an 16-bit regular expression into a 8-bit one?
I mean convert
16bit 8bit
ab 0a0b (if big endian)
a.* 0a(..)*
which seems possible, except for negating characters. The technical
difficulties being that using the old trick of tables indexed by the
character ascii code may not scale for indexes on 16-bit...


--
Colas Nahaboo, Koala, BULL @ INRIA Sophia, http://www.inria.fr/koala/colas
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.