[Kc] Regexp help

SK-47 linux at kisuu.com
Tue Aug 26 16:10:21 CDT 2003


My sincere gratitude for your solutions. They both worked. 

On Tue, 26 Aug 2003 16:19:29 -0500
  Frank Wiles <frank at wiles.org> wrote:
>On Tue, 26 Aug 2003 15:50:14 -0500
>"SK-47" <linux at kisuu.com> wrote:
>
>> Thanks for your quick response. Actually, I really do need a regexp
>> for first situation. Thanks.
>
>   Then I would suggest doing the following: 
>
>   if( $year =~ /^(?:blah|(?:19|20|21)\d\d)$/ ) { }
>
>  ---------------------------------
>    Frank Wiles <frank at wiles.org>
>    http://frank.wiles.org
>  ---------------------------------
>




More information about the kc mailing list