<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4926735770070291800.post6019914016319882899..comments</id><updated>2009-10-10T14:55:15.041-03:00</updated><title type='text'>Comments on Leniel Macaferi's blog: Regex engine in C# - the Regex Parser</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.leniel.net/feeds/6019914016319882899/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default'/><link rel='alternate' type='text/html' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html'/><author><name>Leniel Macaferi</name><uri>http://www.blogger.com/profile/17950821674268154143</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4926735770070291800.post-9023781752186526836</id><published>2009-09-12T12:48:37.014-03:00</published><updated>2009-09-12T12:48:37.014-03:00</updated><title type='text'>Hey dev,

Thanks for replying to this thread!

I d...</title><content type='html'>Hey dev,&lt;br /&gt;&lt;br /&gt;Thanks for replying to this thread!&lt;br /&gt;&lt;br /&gt;I didn&amp;#39;t understand your point at first.&lt;br /&gt;&lt;br /&gt;I read your second interaction carefully so that I could understand it.&lt;br /&gt;&lt;br /&gt;You&amp;#39;re right. The regex I&amp;#39;ve written doesn&amp;#39;t describe the machine represented in figure 1.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll update the post with the regex you suggested. It&amp;#39;s the right one.&lt;br /&gt;&lt;br /&gt;Once again, thank you very much for pointing this out. That&amp;#39;s the kind of thing that makes the internet so fascinating: the interchange of knowledge.&lt;br /&gt;&lt;br /&gt;All the best,&lt;br /&gt;&lt;br /&gt;Leniel Macaferi</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/9023781752186526836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/9023781752186526836'/><link rel='alternate' type='text/html' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html?showComment=1252770517014#c9023781752186526836' title=''/><author><name>Leniel Macaferi</name><uri>http://www.blogger.com/profile/17950821674268154143</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03351735922737092016'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html' ref='tag:blogger.com,1999:blog-4926735770070291800.post-6019914016319882899' source='http://www.blogger.com/feeds/4926735770070291800/posts/default/6019914016319882899' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4926735770070291800.post-5711751235459524298</id><published>2009-09-10T12:54:22.355-03:00</published><updated>2009-09-10T12:54:22.355-03:00</updated><title type='text'>I don't know follow up post got submitted or not, ...</title><content type='html'>I don&amp;#39;t know follow up post got submitted or not, so here is a brief repost.&lt;br /&gt;&lt;br /&gt;What I originally meant to imply was:&lt;br /&gt;&lt;br /&gt;fig 1 will reject &amp;quot;aab&amp;quot;&lt;br /&gt;(a|b)(a|b)*(a|b) will accept &amp;quot;aab&amp;quot;&lt;br /&gt;&lt;br /&gt;fig 1 enforces that the first and last char are the same, where as the regex only checks that it is an a or b.&lt;br /&gt;Therefore, the that regex does not describe the language of figure 1.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/5711751235459524298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/5711751235459524298'/><link rel='alternate' type='text/html' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html?showComment=1252598062355#c5711751235459524298' title=''/><author><name>dev</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html' ref='tag:blogger.com,1999:blog-4926735770070291800.post-6019914016319882899' source='http://www.blogger.com/feeds/4926735770070291800/posts/default/6019914016319882899' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4926735770070291800.post-6324288738321227265</id><published>2009-09-02T16:33:56.294-03:00</published><updated>2009-09-02T16:33:56.294-03:00</updated><title type='text'>Hi dev,

If you look at Figure 1, you'll see that ...</title><content type='html'>Hi dev,&lt;br /&gt;&lt;br /&gt;If you look at Figure 1, you&amp;#39;ll see that you have state 3 (s3) to be reached before you get the final state (s7).&lt;br /&gt;&lt;br /&gt;If you input &amp;quot;aab&amp;quot;, you&amp;#39;ll have this sequence of states:&lt;br /&gt;&lt;br /&gt;                   &lt;br /&gt;s0(ε) -- s1(a) -- s2(a) -- s2(b) -- s2&lt;br /&gt;&lt;br /&gt;So as you can see, you get stuck at s2 and don&amp;#39;t reach s3 that would led you to s7. This way the machine won&amp;#39;t accept the input &amp;quot;aab&amp;quot; because you didn&amp;#39;t reach the final state s7.&lt;br /&gt;&lt;br /&gt;Hope this helps,&lt;br /&gt;&lt;br /&gt;Leniel Macaferi</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/6324288738321227265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/6324288738321227265'/><link rel='alternate' type='text/html' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html?showComment=1251920036294#c6324288738321227265' title=''/><author><name>Leniel Macaferi</name><uri>http://www.blogger.com/profile/17950821674268154143</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03351735922737092016'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html' ref='tag:blogger.com,1999:blog-4926735770070291800.post-6019914016319882899' source='http://www.blogger.com/feeds/4926735770070291800/posts/default/6019914016319882899' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4926735770070291800.post-8728493269335936610</id><published>2009-09-02T12:44:06.082-03:00</published><updated>2009-09-02T12:44:06.082-03:00</updated><title type='text'>"What is the regular expression that describes the...</title><content type='html'>&amp;quot;What is the regular expression that describes the machine M shown in Figure 1 above?&lt;br /&gt;The language of M can be described by the regular language given by this regular expression: (a|b)(a|b)*(a|b)&amp;quot;&lt;br /&gt;&lt;br /&gt;Would figure 1 not reject, and the regex accept &amp;quot;aab&amp;quot;.&lt;br /&gt;Should the instead regex be (a(a|b)*a)|(b(a|b)*b)&lt;br /&gt;Please correct me if I am wrong. Thanks,</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/8728493269335936610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4926735770070291800/6019914016319882899/comments/default/8728493269335936610'/><link rel='alternate' type='text/html' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html?showComment=1251906246082#c8728493269335936610' title=''/><author><name>dev</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.leniel.net/2009/02/regex-engine-in-csharp-regexparser.html' ref='tag:blogger.com,1999:blog-4926735770070291800.post-6019914016319882899' source='http://www.blogger.com/feeds/4926735770070291800/posts/default/6019914016319882899' type='text/html'/></entry></feed>