Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21403

Re: What's the best way to write this regular expression?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <johnjsal@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python,': 0.01; 'mode,': 0.07; 'option,': 0.07; 'sticks': 0.09; 'called,': 0.16; 'editor,': 0.16; 'needless': 0.16; 'rectangle': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'virtualbox': 0.16; 'windows).': 0.16; 'cc:addr:python-list': 0.16; 'linux': 0.17; 'wrote:': 0.18; 'say,': 0.19; 'thanks,': 0.19; 'cc:no real name:2**0': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'received:209.85.213.46': 0.23; 'received:mail- yw0-f46.google.com': 0.23; 'command': 0.24; 'mode': 0.25; "wasn't": 0.25; 'windows': 0.26; 'cc:2**0': 0.26; 'somebody': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'cmd': 0.30; 'ran': 0.30; 'subject:?': 0.31; 'thu,': 0.32; 'idea': 0.32; 'it.': 0.33; 'subject:What': 0.34; 'window': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'using': 0.37; 'either': 0.37; "i'll": 0.38; 'received:209.85': 0.38; 'doing': 0.38; 'think': 0.38; 'option': 0.39; 'received:209': 0.39; 'put': 0.40; 'john': 0.61; 'imagine': 0.66; 'subject:best': 0.67; 'url:png': 0.69; 'learned': 0.73; 'subject:this': 0.74; 'click': 0.78; 'menu.': 0.84; 'subject:write': 0.84; 'window,': 0.84; 'bandwidth': 0.97
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=tgU8dCtu/JzlkCZetmoKmQEuBJmOdmcPOr/LCVOBH4Y=; b=UqKkJ+780S+t1mhVnj5nKae+Jztg8u129MTHf5cndj6Ecq5iEIXTw1JXR5fHvWZ8cR 1rGves/2n0BC4DYpGqNW/0kpd60CJZNCuwb/Sp5U9vrOqFYkHJq7k1FsMBbvai0eijmP 6whgbQUDwN1F1nGIr9sFq25RQLW2oosLtC+Bz56EYPPQcuWfkngD2/ixZiWb2KdoKfrU HWP7cxA+KkSSvbGtA0s/xF8XZrrXUAQ0YPnkQ6Etcf0raR7PA1wSz6z6+WEj9RRiZjwR 8dUNtoMNn0A3cvoyYTAk6rxbyVXlQ8PpPDhw4rXDMdiHNSRQJVaM77LoiypjA4to42Kw fz5A==
MIME-Version 1.0
In-Reply-To <4F59308D.4000403@davea.name>
References <12783654.1174.1331073814011.JavaMail.geo-discussion-forums@yner4> <03dd4256-0881-44e8-bb27-38f23ce66267@h20g2000yqd.googlegroups.com> <21519dbf-4097-4780-874d-41d76f6453e0@x17g2000yqj.googlegroups.com> <4F59308D.4000403@davea.name>
From John Salerno <johnjsal@gmail.com>
Date Thu, 8 Mar 2012 16:25:21 -0600
Subject Re: What's the best way to write this regular expression?
To d@davea.name
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.520.1331245544.3037.python-list@python.org> (permalink)
Lines 43
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1331245544 news.xs4all.nl 6937 [2001:888:2000:d::a6]:50738
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21403

Show key headers only | View raw


Thanks, I had no idea about either option, since I don't use the
command prompt very much. Needless to say, the Linux console is much
nicer :)



On Thu, Mar 8, 2012 at 4:19 PM, Dave Angel <d@davea.name> wrote:
> On 03/08/2012 04:40 PM, John Salerno wrote:
>>
>> <SNIP>
>> http://i271.photobucket.com/albums/jj138/JohnJSal/lxml_error.png
>>
>
> Nothing to do with Python, but you'd save us all a lot of space and
> bandwidth if you learned how to copy/paste from a Windows cmd window.
>
> If you're just doing it rarely, you can right click on the top bar to get a
> menu.  I think you want "mark".  Then you select the text you'd like to put
> in the clipboard.
>
> Alternatively, you can put the console in quick-edit mode (I think it's
> called, it's been a long time since I ran Windows).  That's an option you
> set on one cmd window, and it sticks for future windows.
>
> In quick-edit, you just right-click-drag on the cmd window to select a
> rectangle of text.  Then you can Ctrl-V to paste it into email, or into a
> text editor, or wherever else you need it.  Hard to imagine not using this
> mode, or its Linux equivalent, which is always available.
>
> If that wasn't clear enough, or it doesn't work for you, somebody will
> explain it better.  Or ask me, and I'll launch a VirtualBox with Windows to
> get you going.
>
> --
>
> DaveA
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 14:43 -0800
  Re: What's the best way to write this regular expression? Chris Rebert <clp2@rebertia.com> - 2012-03-06 14:52 -0800
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:02 -0800
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:05 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:25 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:33 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:33 -0800
        Re: What's the best way to write this regular expression? Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-06 16:35 -0700
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 17:39 -0600
        Re: What's the best way to write this regular expression? Terry Reedy <tjreedy@udel.edu> - 2012-03-06 20:04 -0500
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:05 -0800
        Re: What's the best way to write this regular expression? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-06 23:44 +0000
          Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:57 -0800
            RE: What's the best way to write this regular expression? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-07 00:04 +0000
            Re: What's the best way to write this regular expression? Terry Reedy <tjreedy@udel.edu> - 2012-03-06 20:06 -0500
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:02 -0800
  Re: What's the best way to write this regular expression? Roy Smith <roy@panix.com> - 2012-03-06 20:26 -0500
  Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 23:02 -0800
    Re: What's the best way to write this regular expression? Paul Rubin <no.email@nospam.invalid> - 2012-03-07 02:36 -0800
  Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 12:39 -0800
    Re: What's the best way to write this regular expression? Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-07 14:01 -0700
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 15:11 -0600
      Re: What's the best way to write this regular expression? alex23 <wuwei23@gmail.com> - 2012-03-08 19:38 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 19:52 -0800
    Re: What's the best way to write this regular expression? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-03-07 16:27 -0500
    RE: What's the best way to write this regular expression? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-07 21:31 +0000
    Re: What's the best way to write this regular expression? Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-07 14:34 -0700
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 15:44 -0600
    Re: RE: What's the best way to write this regular expression? Evan Driscoll <driscoll@cs.wisc.edu> - 2012-03-07 16:02 -0600
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 23:26 -0800
    Re: What's the best way to write this regular expression? Chris Angelico <rosuav@gmail.com> - 2012-03-08 16:03 +1100
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 23:25 -0800
  Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 13:33 -0800
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 13:40 -0800
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 13:52 -0800
      Re: What's the best way to write this regular expression? John Gordon <gordon@panix.com> - 2012-03-08 21:54 +0000
      Re: What's the best way to write this regular expression? Dave Angel <d@davea.name> - 2012-03-08 17:19 -0500
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 16:25 -0600
      RE: What's the best way to write this regular expression? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-08 23:02 +0000
      Re: What's the best way to write this regular expression? Dave Angel <d@davea.name> - 2012-03-08 18:23 -0500
      Re: What's the best way to write this regular expression? Ethan Furman <ethan@stoneleaf.us> - 2012-03-08 14:52 -0800
        Re: What's the best way to write this regular expression? jkn <jkn_gg@nicorp.f9.co.uk> - 2012-03-09 02:45 -0800

csiph-web