regexp help

proto man <protocolwork@yahoo.com>
27 Mar 2001 23:32:39 -0500

          From comp.compilers

Related articles
regexp help protocolwork@yahoo.com (proto man) (2001-03-27)
| List of all articles for this month |

From: proto man <protocolwork@yahoo.com>
Newsgroups: comp.compilers
Date: 27 Mar 2001 23:32:39 -0500
Organization: Compilers Central
Keywords: lex, i18n
Posted-Date: 27 Mar 2001 23:32:39 EST

Hi,
    I have a regexp library requirement :


    that can treat uint16_t or uint32_t as alphabets
    and allow metacharacters :


    .
    *
    +
    []
      ?
      ( )
      {m,n} ( atleast m atmost n )
    ^
    $




allow regexp like :
                ^500 400 900$
                (400 | 500)+ [900-1200] 200 .* 300? 555$
                ^(300 | 400)$


etc.


  The match data is expected as a stream of
    uint16_t e.g 300 500 600 900
    or uint32_t


  But all the regexp libraries i am seeing treat ascii
  character as an alphabet.


Please help,
Thanks,
-pm


Post a followup to this message

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