RegEx: AND operator

"jan" <nikt@wp.pl>
12 Oct 2003 18:49:59 -0400

          From comp.compilers

Related articles
RegEx: AND operator nikt@wp.pl (jan) (2003-10-12)
Re: RegEx: AND operator vannoord@let.rug.nl (2003-10-13)
Re: RegEx: AND operator ahelin@student.oulu.fi (2003-10-13)
Re: RegEx: AND operator henry@spsystems.net (2003-10-14)
Re: RegEx: AND operator clint@0lsen.net (Clint Olsen) (2003-10-14)
Re: RegEx: AND operator nikt@wp.pl (jan) (2003-10-18)
Re: RegEx: AND operator nikt@wp.pl (jan) (2003-10-19)
| List of all articles for this month |

From: "jan" <nikt@wp.pl>
Newsgroups: comp.compilers
Date: 12 Oct 2003 18:49:59 -0400
Organization: http://news.icm.edu.pl/
Keywords: lex, question
Posted-Date: 12 Oct 2003 18:49:59 EDT

The algorithms for translation of regex into NFA are popular; however,
in none have I seen support for the AND (&) operator. It might be
implemented as another NFA that is run in the required range
(eg. regex (a.* & ~abc)+ would make one NFA (a.*)+ and for each
matched (a.*) it would test the other NFA: ~abc) but that's not a good
solution, besides it won't allow creating NFA. Anybody can help?



Post a followup to this message

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