[ale] reg exp's
Fletch
fletch at phydeaux.org
Thu Feb 15 11:48:12 EST 2001
>>>>> "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.
More information about the Ale
mailing list