Re: [Python-Dev] Experiment: Adding "re" to string objects.

2009-07-18 Thread Michael Foord
MRAB wrote: Sean Reifschneider wrote: I'm mailing this to python-dev because I'd like feedback on the idea of adding an "re" attribute to strings. I'm not sure if it's a good idea or not yet, but I figure it's worth discussion. The module mentioned here includes a class called "restr()" whic

Re: [Python-Dev] Experiment: Adding "re" to string objects.

2009-07-17 Thread MRAB
Sean Reifschneider wrote: I'm mailing this to python-dev because I'd like feedback on the idea of adding an "re" attribute to strings. I'm not sure if it's a good idea or not yet, but I figure it's worth discussion. The module mentioned here includes a class called "restr()" which allows you to

Re: [Python-Dev] Experiment: Adding "re" to string objects.

2009-07-17 Thread Aahz
On Fri, Jul 17, 2009, Sean Reifschneider wrote: > > I'm mailing this to python-dev because I'd like feedback on the idea of > adding an "re" attribute to strings. I'm not sure if it's a good idea or > not yet, but I figure it's worth discussion. The module mentioned here > includes a class called

[Python-Dev] Experiment: Adding "re" to string objects.

2009-07-17 Thread Sean Reifschneider
I'm mailing this to python-dev because I'd like feedback on the idea of adding an "re" attribute to strings. I'm not sure if it's a good idea or not yet, but I figure it's worth discussion. The module mentioned here includes a class called "restr()" which allows you to play with "s.re". As some