crenz has asked for the wisdom of the Perl Monks concerning the following question:
A colleague of mine wants to learn about regexes. I can teach him the basics no problem, but I think such an introduction should include more than just the syntax. Issues I deem important include
- When not to use regexes (e.g. use split for /etc/passwd-like files)
- What to avoid (e.g. Death to Dot Star!)
- How to make regexes more readable (e.g. How can I hope to use regular expressions without creating illegible and unmaintainable code?)
So before I go and reinvent the wheel poorly, is there a good introduction to regexes available that covers usage aspects as well?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Learning regexes
by gmax (Abbot) on Apr 02, 2003 at 21:26 UTC | |
Re: Learning regexes
by perlguy (Deacon) on Apr 02, 2003 at 21:29 UTC | |
by perlinux (Deacon) on Feb 27, 2004 at 15:04 UTC | |
•Re: Learning regexes
by merlyn (Sage) on Apr 02, 2003 at 21:26 UTC | |
Re: Learning regexes
by phydeauxarff (Priest) on Apr 02, 2003 at 21:10 UTC | |
Re: Learning regexes
by bart (Canon) on Apr 03, 2003 at 02:04 UTC | |
Re: Learning regexes
by hiseldl (Priest) on Apr 03, 2003 at 02:28 UTC | |
Re: Learning regexes
by crenz (Priest) on Apr 03, 2003 at 14:30 UTC | |
Re: Learning regexes
by SysApe9000 (Acolyte) on Apr 03, 2003 at 18:49 UTC |
Back to
Seekers of Perl Wisdom