Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Teaching Regular Expression Pattern Matching

by JavaFan (Canon)
on Aug 21, 2011 at 13:10 UTC ( [id://921527]=note: print w/replies, xml ) Need Help??


in reply to Teaching Regular Expression Pattern Matching

One objective would be to convince those colleagues who tend to do a lot of elaborate string manipulation using only built-in string functions—a common anti-pattern I've observed—to use regular expression pattern matching instead.
This makes me wonder, is your intention to really teach about regular expressions, or are you pushing a political agenda?
How would you teach a class on regular expressions? What would your approach be?
That depends. 4 to 8 hours isn't a lot. I've done regexes as part of Perl training course, and although I typically spend 4-6 hours of a 4 to 5 day training on regular expressions, I only barely scratch the surface.

How much do your co-workers know? Do they know the concept? Are they familiar with at least v8 style regexes? (as used by grep, sed, vi, awk, etc). They you can skip the basics and focus on more advanced things. Otherwise, 4-8 hours is just enough to do the basics.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://921527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-03-28 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found