Sun, 20th Jul 2008 00:15:47
Never fear, this site is here

Back to Regex tutorial for people who should know Regex, but do not.. Part 1

Make a new comment

Comments

# Author: Krishna
Fri, 15th Feb 2008 08:21:49
Excellent post. Until now, I tried decrypting reg ex with no success at all.
This post clears out the basics to understand all the reg ex used.

Thank you very much,
Krishna
# Author: Anonymous
Fri, 15th Feb 2008 12:17:41
there is no backslash in the first example of where to use a backslash
# Author: Bryan Peters
Fri, 15th Feb 2008 15:51:50
Thanks for writing this! It was very helpful and easy to read.
# Author: Steve
Fri, 15th Feb 2008 17:57:09
Great introduction tutorial!!!

It is difficult to find any clear regex tutorials for beginners.

This helped me understand the concept much better.
# Author: k
Fri, 15th Feb 2008 22:43:09
You sort-of infer that regexps are good for validating an email address, but I would caution you that this is quite a bit more complex than /w+@w+.w+/ .

See Jeffrey Friedl's book for more info.

Just another Perl hacker,

--k
# Author: Doug
Fri, 15th Feb 2008 23:00:32
The hot topic of proper E-Mail validation!

I would like to see more about the limitations of regular expressions. Particularly when applied to computability theory. I.e. what can regular expressions mathematically do easily and where do they fall apart? What other data recognition and decision processing methodologies are there that compete with Perl style regular expressions? What methodologies improve on perl regular expressions, if any?

Perhaps these are questions for a later post. I'll hound you until I get some discussion about this or until I get some time to write up a discussion on the maths & technical side of regular expressions myself!

In any case, nice primer ben. Looking forward to part 2!
# Author: peng
Sat, 16th Feb 2008 03:57:52
thank you so much!

i look forward to part 2
# Author: ĪĶĪÄēĄ
Fri, 30th May 2008 14:34:31
˽¤Ï¤³¤Î™Ä§¤Î¤è¤¦¤Ê¤¦¤Ä²¡Öߟ¤È20Äêég¿àêL¤·¤Þ¤·¤¿¡£¤Ï¤¸¤á¤Î10Äê¤ÏÒ»ÈˤÇ<a href=http://www.sayonara-utsu.com>¤¦¤Ä²¡</a>¤½¤·¤Æ¤â¤¦10Äê¤Ï¤¦¤Ä²¡¤¢¤ë¥É¥¯¤¦¤Ä²¡¥¿©`¤È¹²¤Ë¤¦¤Ä²¡¤ËÁ¢¤ÁÏò¤«¤Ã¤¦¤Ä²¡¤¿¤ÈÑԤäƤ¤¤¤¤Ç¤·¤ç¤¦¡£¤½¤ì¤Ï¤¢¤Þ¤ê¤Ë¤¦¤Ä²¡éL¤¯¡¢ÐÁ¤¤¤¦¤Ä²¡Öߟ¤Î½UòY¤Ç¤·¤¿¡£¤·¤«¤·¡¢¤½¤Î•rég¤Ï˽¤Ë¡¢¤¦¤Ä²¡¤ËŒ¤¹¤ëÉ֪{¤È¤¦¤Ä²¡¤ÎŒ„I·¨¡¢¤½¤·¤Æ²»Çü¤ÎÓšݤ¦¤Ä²¡¤òÓ뤨¤Æ¤¯¤ì¤¿¤Î¤Ç¤¹¡£¤½¤·¤Æ¡¢¤¦¤Ä²¡¤Ë¤µ¤è¤Ê¤é¤·¤Æ¤¯¤À¤µ¤¤¡£
# Author: Josh Peters
Wed, 25th Jun 2008 13:48:59
I think you've got some of your character classes confused. I believe
\A
matches non-alpha characters and you state it matches alphabet characters. Ditto for
\S
. The capitalized versions match the opposite of the lower case, so
\s
matches white-space.
# Author: chisler
Tue, 8th Jul 2008 17:06:58
is there a pdf version of the first part of this article? I can only find a pdf of the second part.

It's a great article and is perfect for someone like me who uses regex only sporadically - handy to have as a reference.

Chis

Make a new comment

Powered by Debian, Jack Daniels, Guinness, and excessive quantities of caffeine and sugar.