About implementing RegEx & pattern-match using finite automata
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > About implementing RegEx & pattern-match using finite automata




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    About implementing RegEx & pattern-match using finite automata  
ziman137


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-06 06:18 AM

Hello, anyone who is interested,

Does anyone here know well about the implementation for regular
expression and
pattern matching? I mean, are there such officially recognized good
design
and implementation? Or, at least, the "de facto" ones? Let me first
clarify a
few known facts:

* finite state machine is the fundamental model - this is well known.
* regular expression serves as formal syntax rules - this is well
known.

Starting from here, everyone may use his own imagination to come up
with some
kind of design and implementation. What are those good ones? Or, what
is your
idea? Or some good references are also welcome.

peace -:
Gary






[ Post a follow-up to this message ]



    Re: About implementing RegEx & pattern-match using finite automata  
Barry Margolin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-06 06:18 AM

In article <1152073332.125287.17000@j8g2000cwa.googlegroups.com>,
"ziman137" <gangxu_csu@yahoo.com> wrote:

> Hello, anyone who is interested,
>
> Does anyone here know well about the implementation for regular
> expression and
>  pattern matching? I mean, are there such officially recognized good
> design
> and implementation? Or, at least, the "de facto" ones? Let me first
> clarify a
> few known facts:
>
> * finite state machine is the fundamental model - this is well known.
> * regular expression serves as formal syntax rules - this is well
> known.
>
> Starting from here, everyone may use his own imagination to come up
> with some
> kind of design and implementation. What are those good ones? Or, what
> is your
> idea? Or some good references are also welcome.
>
> peace -:
> Gary

Any compiler textbook should discuss this pretty well.  If you want an
example implementation to look at, see GNU flex.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***





[ Post a follow-up to this message ]



    Re: About implementing RegEx & pattern-match using finite automata  
Nils O. Selåsdal


Report This Message To A Moderator Edit/Delete Message


 
07-05-06 06:19 PM

ziman137 wrote:
> Hello, anyone who is interested,
>
> Does anyone here know well about the implementation for regular
> expression and
>  pattern matching? I mean, are there such officially recognized good
> design
> and implementation? Or, at least, the "de facto" ones? Let me first
> clarify a
> few known facts:
Thisone is a good read:
http://swtch.com/~rsc/talks/regexp.pdf





[ Post a follow-up to this message ]



    Re: About implementing RegEx & pattern-match using finite automata  
ziman137


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-14-06 06:20 AM

Thanks to everyone who responded.  Your help is highly appreciated!

Gary






[ Post a follow-up to this message ]



    Re: About implementing RegEx & pattern-match using finite automata  
ziman137


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-14-06 06:20 AM

Thanks to everyone who responded.  Your help is highly appreciated!

Gary






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:45 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register