[wplug] simple regex

Mike Kuentz (2) JunkEmail at rapidigm.com
Wed Jun 25 20:42:20 EDT 2003


Sorry about the misinformation there.  I wasn't paying attention about the
brackets.  Without the brackets is the beginning of the line.  Here's a
helpful tool http://www.weitz.de/regex-coach/  You can step through your
expressions and all sorts of cool stuff.



-----Original Message-----
From: James O'Kane [mailto:jo2y at midnightlinux.com] 
Sent: Wednesday, June 25, 2003 7:50 PM
To: 'wplug at wplug.org'
Subject: RE: [wplug] simple regex


On Wed, 25 Jun 2003, Mike Kuentz (2) wrote:

> In
> your expression the ^ is interpreted as the beginning of the line.  It's
not
> <NOT> as I think you were trying.

The question is, why not? From the grep man page:

A bracket expression is a list of characters enclosed by [ and ]. It
matches any single character in that list; if the first character of the
list is the caret ^ then it matches any character not in the list. For
example, the regular expression [0123456789] matches any single digit.

The only place where @ appears in the man page is in the bug reporting 
email address. 

Somewhere I have the ORA Regular Expressions book, I'm sure they will know
what to do. :)


-james


_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.wplug.org/pipermail/wplug/attachments/20030625/cedcb8ba/attachment-0001.html


More information about the wplug mailing list