<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB"><title>Comments on Regular Expressions Cheat Sheet (V2) - AddedBytes.com</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/" /><link rel="self" type="application/xml" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/atom/" /><subtitle>Latest comments on Regular Expressions Cheat Sheet (V2) on AddedBytes.com</subtitle><author><name>Dave Child</name></author><updated>2008-06-30T13:53:31Z</updated><id>tag:addedbytes.com,2008:403</id><!-- ckey="76C662BB" --><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by ronald kriwelz ( &lt;a href="http://blog.kriwelz.web.id"&gt;http://blog.kriwelz.web.id&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;thanks a lot.. another good thing i found :)</summary><id>tag:addedbytes.com,2008:107008</id><published>2008-11-28T04:01:28+00:00</published><updated>2008-11-28T04:01:28Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by mac ( &lt;a href="http://www.igroupmac.org/"&gt;http://www.igroupmac.org/&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Amazing regex cheat sheet! I think that every developer needs to put regex skills in their coding arsenal. So please keep up the great work. Thanks Dave</summary><id>tag:addedbytes.com,2008:106976</id><published>2008-11-26T12:59:49+00:00</published><updated>2008-11-26T12:59:49Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by hanbiaoo ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Perfect work! Thank you VERY much! It's very usefull sheet!!</summary><id>tag:addedbytes.com,2008:106688</id><published>2008-11-21T07:04:18+00:00</published><updated>2008-11-21T07:04:18Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by \w{3} ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Sorry, I forgot something in the last expression, it should have been&lt;br /&gt;
&lt;br /&gt;
^[1-9]\d{0,49}$</summary><id>tag:addedbytes.com,2008:106622</id><published>2008-11-18T20:53:39+00:00</published><updated>2008-11-18T20:53:39Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by \w{3} ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I have a comment about the regular expression to match 1-50 digits. Wouldn't the following expression be better?&lt;br /&gt;
&lt;br /&gt;
^[1-9][0-9]{0,49}$/&lt;br /&gt;
&lt;br /&gt;
Or even better, with \d&lt;br /&gt;
&lt;br /&gt;
^\d\d{0,49}$&lt;br /&gt;
&lt;br /&gt;
The {x,y} notation is very useful</summary><id>tag:addedbytes.com,2008:106621</id><published>2008-11-18T20:51:47+00:00</published><updated>2008-11-18T20:51:47Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by Naseer Ahmad Mughal ( &lt;a href="http://www.naseerahmad.com"&gt;http://www.naseerahmad.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Thanks for such a nice sheet.</summary><id>tag:addedbytes.com,2008:105944</id><published>2008-10-28T11:14:55+00:00</published><updated>2008-10-28T11:14:55Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by Josh ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Suggestion: perhaps a one-click link to the image so that we can skip the &quot;you are downloading a file, well done&quot; page? Or perhaps send the MIME (assuming that's the problem here) header so that the download could be opened in the browser instead of a &quot;what do you want to do with it&quot; dialogue.&lt;br /&gt;
&lt;br /&gt;
It seems the new site has taken a step back in this regard :/&lt;br /&gt;
&lt;br /&gt;
Thanks for the useful cheat sheet though!</summary><id>tag:addedbytes.com,2008:105341</id><published>2008-10-12T18:08:55+01:00</published><updated>2008-10-12T18:08:55Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by KiriK ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Thank you VERY much! It's very usefull sheet!! Perfect work!</summary><id>tag:addedbytes.com,2008:104772</id><published>2008-09-26T07:50:22+01:00</published><updated>2008-09-26T07:50:22Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by Nathan Mahon ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Some of the sample patterns could be simplified...&lt;br /&gt;
images:  (\S+\.(gif|jpg|png)$)&lt;br /&gt;
1-50: (^([1-9]|[1-4][0-9]|50)$)&lt;br /&gt;
Hex: (^#?[A-Fa-f0-9]{3}([A-Fa-f0-9]{3})?$)   without the ^ and $ it'd match anything with 3 consecutive valid characters anywhere, like #adhdaa...&lt;br /&gt;
Email can have numbers and hyphens in the domain, and underscores are invalid, but to allow be specific to match all of the legitimate email addresses is beyond a simple example. see http://www.regular-expressions.info/email.html ... :)</summary><id>tag:addedbytes.com,2008:104616</id><published>2008-09-16T15:23:30+01:00</published><updated>2008-09-16T15:23:30Z</updated></entry><entry><title>Comment on Regular Expressions Cheat Sheet (V2)</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/regular-expressions-cheat-sheet/comments/" /><summary type="text">Comment by Thomas ( &lt;a href="http://www.online-spiele-zocken.de"&gt;http://www.online-spiele-zocken.de&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Thanks a lot, mate! :)</summary><id>tag:addedbytes.com,2008:104560</id><published>2008-09-15T00:44:32+01:00</published><updated>2008-09-15T00:44:32Z</updated></entry></feed>