[Python-Dev] Oddity PEP 0 key (original) (raw)

Arfrever Frehtes Taifersar Arahesis arfrever.fta at gmail.com
Sat May 2 12:34:05 CEST 2009


2009-05-02 07:34:15 Stephen J. Turnbull napisaƂ(a):

Barry Warsaw writes: > On May 1, 2009, at 5:55 PM, Michael Foord wrote: > > > P for Proposal (to replace Active Proposal)? Every active PEP is a > > proposal... > > +1 > > Maybe even s/Active/Proposed/g ?

Shouldn't that be s/Active/Proposed/

No. From info sed 'sed Programs' 'The "s" Command':

The `s' Command ===============

The syntax of the s' (as in substitute) command is_ _s/REGEXP/REPLACEMENT/FLAGS'. The /' characters may be uniformly_ _replaced by any other single character within any given s' command. The /' character (or whatever other character is used in its stead)_ _can appear in the REGEXP or REPLACEMENT only if it is preceded by a ' character. ... The s' command can be followed by zero or more of the following_ _FLAGS:_ _g' Apply the replacement to all matches to the REGEXP, not just the first.

-- Arfrever Frehtes Taifersar Arahesis -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://mail.python.org/pipermail/python-dev/attachments/20090502/5aeec9c5/attachment.pgp>



More information about the Python-Dev mailing list