[ale] regex question?
Fletch
fletch at phydeaux.org
Thu Mar 14 12:13:33 EST 2002
>>>>> "Joseph" == Joseph A Knapka <Joseph> writes:
Joseph> Fletch wrote:
>> >>>>> "esoteric" == esoteric <Geoffrey> writes:
>>
>> [...]
>>
>> >> '03/(19|20)/02'
Joseph> This will match 03/120/02 or 03/190/02. Re operators bind
lemur:~ 448> echo '03/19/02' | egrep '03/(19|20)/02' 12:10:04
03/19/02
lemur:~ 449> echo '03/190/02' | egrep '03/(19|20)/02' 12:11:19
lemur:~ 450> echo '03/120/02' | egrep '03/(19|20)/02' < 1 > 12:11:23
lemur:~ 451> echo '03/20/02' | egrep '03/(19|20)/02' < 1 > 12:11:33
03/20/02
lemur:~ 452> echo '03/12/02' | egrep '03/(19|20)/02' 12:11:39
lemur:~ 453> < 1 > 12:11:40
--
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
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list