Re: Python

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

 



9[18] will match either "91" or "98".

-  
Thanks,

Chris


On Tue, 2009-04-14 at 12:29 -0400, Kirkwood, David A. wrote:
> I'm trying to decipher a pythom script someone gave me for
> administration and I can't figure out what the symbol 9[18] means in a
> regular expression as in
> 
>  re.compile('MezsageXYZ,9[18]\d\d')
> 
> I have most of the rest of it figured but I can't find this in the
> Python book I'm using.
> 
> All help is appreciated,
> 
> 
> David A. Kirkwood
> SAIC
> 
> david.a.kirkwood@xxxxxxxx
> kirkwoodd@xxxxxxxx
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux