[wplug] simple regex

James O'Kane jo2y at midnightlinux.com
Wed Jun 25 19:50:25 EDT 2003


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





More information about the wplug mailing list