Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Matching numbers



    Hi Bart :)

 * Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> }     Is there a way of matching numeric ranges taking into account
> } leading zeroes?
> Not directly, no.  But this is where alternation syntax is useful:
> 	(0<0-9>|<10-31>)

    Good idea. Thanks :) I don't use alternations because I'm not
familiar with them outside case statements, so I never remember them
when necessary O:)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/



Messages sorted by: Reverse Date, Date, Thread, Author