linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris DiTrani <cditrani@livedata.com>
To: "Kirkwood, David A." <DAVID.A.KIRKWOOD@saic.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: Python
Date: Tue, 14 Apr 2009 12:33:34 -0400	[thread overview]
Message-ID: <1239726814.9678.22.camel@cditrani-laptop> (raw)
In-Reply-To: <2E9F9B9B52306D4DB3DEE15E678BDE61012CBEE1@0668-ITS-EXMP02.us.saic.com>

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


      reply	other threads:[~2009-04-14 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14 16:29 Python Kirkwood, David A.
2009-04-14 16:33 ` Chris DiTrani [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239726814.9678.22.camel@cditrani-laptop \
    --to=cditrani@livedata.com \
    --cc=DAVID.A.KIRKWOOD@saic.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).