[kwlug-disc] [kwlug-announce] Meeting Monday: Regular Expressions

Bob Jonkman bjonkman at sobac.com
Sun Feb 28 03:31:04 EST 2010

Here's some practice for those who already know some RegEx syntax:



Bob Jonkman <bjonkman at sobac.com>         http://sobac.com/sobac/
SOBAC Microcomputer Services              Voice: +1-519-669-0388
6 James Street, Elmira ON  Canada  N3B 1L5  Cel: +1-519-635-9413
Software   ---   Office & Business Automation   ---   Consulting

Paul Nijjar wrote:
> NOTE: This meeting will be held at St. John's Kitchen. See
> http://kwlug.org/node/709 for directions. 
> You know how it goes. Instead of getting your meeting announcement
> done you're chasing samsara, surfing through singles ads and source
> code, when this line hits you like a curling rock to the gut: 
> 1,$s/\(\p\+\) \(\S\+@\S\+)/<\2> "\1"/cg
> A few minutes later you get pummelled by 
> re.search(r"\d{2}/\w{3}/\d{4}", l)
> or maybe 
> m/^m*(d?{0,3}|c[dm])(|?x{0,3}|x[lc])(v?i{0,3}|i[vx])$/i
> "Toto," you say. "I don't think we're on match.com anymore." Or so you
> think. Once you start spending time with scripting languages like Perl
> or Python, command-line utilities like grep, or even text editors like
> vim, you'll find yourself running into such expressions regularly.
> They are a valuable tool, and at this month's KWLUG meeting master
> matchmaker John van Ostrand will reveal their mysteries. This
> presentation will start at 7pm. 
> This month's FLOSS Fund nominee is the OpenBSD project. Although this
> is not strictly a Linux project, OpenBSD has probably made significant
> contributions to your distribution. In addition to OpenSSH, OpenBSD
> also conducts code audits that help make all kinds of software
> components more secure. If you would like to contribute to this
> month's nominee but cannot make the meeting, contact me and we can
> make arrangements. 
> In certification news, John van Ostrand is looking to make a few more
> matches -- he is looking for people interested in writing Linux
> Professional Institute (LPI) certifications. If he gets enough
> interest, he will arrange for an examination date to be held locally.
> You can find out more about the LPI certifications here: 
> http://www.lpi.org/eng/certification/the_lpic_program
> If you are interested you can contact me or talk with John directly:
> john at the domain netdirect.ca . 
> This meeting will again be held at St John's Kitchen: 
> St John's Kitchen
> 97 Victoria Street North
> (at the corner of Victoria and Weber)
> Kitchener
> There are helpful pictures, somewhat helpful maps and parking
> information on the KWLUG website: http://kwlug.org/node/709 . Once
> again we will have to lock the doors by 7:20pm or so, but if you come
> later there will be a doorbell to ring and/or a cellphone number to
> call. 
> - Paul

More information about the kwlug-disc mailing list