[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] reg exp's
- Subject: [ale] reg exp's
- From: fletch at phydeaux.org (Fletch)
- Date: 15 Feb 2001 11:48:12 -0500
>>>>> "Ken" == Ken Nagorski <kenn at pcintelligent.com> writes:
[...]
Ken> /"*reserverd.for.cust.xxx*"/d
regex != glob
What you're matching is zero or more "'s, followed by the
literal string `reserverd', followed by any character, followed by
`for', another arbitrary character, `cust', arbitrary character, `xx',
followed by zero or more x's, and then a ".
Read man regex, or perldoc perlre (which is slanted towards
perl's regexen, but then you should be using perl not sed :). Also
look for _Mastering Regular Expressions_ from ORA (which covers
regular expressions in general for several common UNIX tools).
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.