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/<g> 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>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4