Re: Python
Chris DiTrani <[email protected]> Tue, 14 Apr 2009 12:33:34 -0400
| Newsgroups | org.kernel.vger.linux-admin |
|---|---|
| Message-ID | <1239726814.9678.22.camel@cditrani-laptop> |
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
>
> [email protected]
> [email protected]
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html