[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] regex question?

Fletch wrote:
> >>>>> "esoteric" == esoteric  <Geoffrey> writes:
> [...]
>     >> '03/(19|20)/02'

This will match 03/120/02 or 03/190/02. Re operators
bind to the adjacent atoms, so if you want an operator
to apply to more than a single character, you need a


will match 03/19/02 or 03/20/02, and only those.

Hoping egrep syntax hasn't changed since last time I
read the man page,

-- Joe
  Using open-source software: free.
  Pissing Bill Gates off: priceless.

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.