* Python
@ 2009-04-14 16:29 Kirkwood, David A.
2009-04-14 16:33 ` Python Chris DiTrani
0 siblings, 1 reply; 2+ messages in thread
From: Kirkwood, David A. @ 2009-04-14 16:29 UTC (permalink / raw)
To: linux-admin
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@saic.com
kirkwoodd@saic.com
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Python
2009-04-14 16:29 Python Kirkwood, David A.
@ 2009-04-14 16:33 ` Chris DiTrani
0 siblings, 0 replies; 2+ messages in thread
From: Chris DiTrani @ 2009-04-14 16:33 UTC (permalink / raw)
To: Kirkwood, David A.; +Cc: linux-admin
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@saic.com
> kirkwoodd@saic.com
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-14 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14 16:29 Python Kirkwood, David A.
2009-04-14 16:33 ` Python Chris DiTrani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox