home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!ogicse!das-news.harvard.edu!husc-news.harvard.edu!husc10.harvard.edu!murphy1
- From: murphy1@husc10.harvard.edu (Gerard J. Murphy)
- Newsgroups: comp.lang.pascal
- Subject: NOT operator in Regular Expressions
- Message-ID: <1992Dec14.175643.18483@husc3.harvard.edu>
- Date: 14 Dec 92 22:56:41 GMT
- Organization: Harvard University Science Center
- Lines: 22
- Nntp-Posting-Host: husc10.harvard.edu
-
- Hi,
-
- I'm implementing a text pattern search engine based upon the examples
- given in Sedgewick's 'Algorithms', Chapters 20 and 21. This model is
- based upon non-deterministic finite automata and is relatively straight-
- forward. My question is how to implement a NOT function in the most
- general way as an addition to the underlying NFA scheme. Sedgewick makes
- several references to this but doesn't really provide many clues as to how
- to carry it out.
-
- I'd appreciate hearing from anybody out there who's done something like
- this or who has some ideas based on NFA theory. I'm not interested in
- kludges or ugly, brute-force workarounds.
-
- This work is being done in Borland Pascal and, for those who might ask,
- is for a commercial task, not any sort of school assignment.
-
- Thanks in advance to any who can help.
-
-
- Gerry Murphy
- murphy1@husc.harvard.edu
-