Re: New Python regex Doc

2005-05-13 Thread John Bokma
wrote: > In comp.lang.perl.misc John Bokma <[EMAIL PROTECTED]> wrote: [ @55, |@#~~|!! ] > Oh please let him use an ass... Ok, he is allowed to use ass in examples, e.g. (Perl) s/ass/domesticated donkey/g; (Maybe to explain \b ? ) -- John Small Perl scripts: http://johnbok

Re: New Python regex Doc

2005-05-13 Thread axel
In comp.lang.perl.misc John Bokma <[EMAIL PROTECTED]> wrote: > If you had really any point, you didn't need to swear in every third > sentence. Nor bother so many groups with your rants. > If you think it can be done better, pick up a part of documentation, and > rewrite it. To make it very har

Re: New Python regex Doc

2005-05-13 Thread John Bokma
Xah Lee wrote: > I respect people and I was convinced he was going to show different: > The software community, is one fucked up ball, and in part, because just one person sees the light... > people respect not people nor truth. They respect their own asses, Then you must be the #1 fine exam

Re: New Python regex Doc

2005-05-13 Thread Xah Lee
, either personally or as part of the Python collective, to behave properly. Xah [EMAIL PROTECTED] â http://xahlee.org/ Newsgroups: comp.lang.python From: Ron Adam <[EMAIL PROTECTED]> - Find messages by this author Date: Sat, 07 May 2005 20:23:35 -0400 Local: Sat,May 7 2005 8:23Âpm Su

Re: New Python regex Doc

2005-05-09 Thread Fredrik Lundh
Mike Meyer wrote: > After doing a google for "regular expression greedy", the second match > starts with the text: > > By default, pattern matching is greedy, which means that the matcher > returns the longest match possible. > > Now, it can be argued that the term ought not to be used,

Re: New Python regex Doc

2005-05-08 Thread Skip Montanaro
Peter> And which, at least implicitly, defines "greedy" by in section Peter> 6.3 titled "Greedy versus Non-Greedy". It's not perfect, but Peter> then nobody in this thread has offered anything even remotely Peter> resembling perfect documentation for regular expressions Peter>

Re: New Python regex Doc

2005-05-08 Thread Peter Hansen
Mike Meyer wrote: > As I've suggested before, what's really needed is a short tutorial on > regular expressions in general. That page could include a definition > of terms that are unique to regular expressions, and the re package > documentation could link the word greedy to that definition. You

Re: New Python regex Doc

2005-05-08 Thread John Bokma
wrote: > When used in terms of Usenet, I think it can be applied in the sense > of 'a troll who is greedy for attention'. > > Hence the saying 'do not feed the troll'. Unless you can cause a buffer overflow :-D -- John Small Perl scripts: http://johnbokma.com/perl/

Re: New Python regex Doc

2005-05-07 Thread axel
In comp.lang.perl.misc Xah Lee <[EMAIL PROTECTED]> wrote: > Let me expose one another fucking incompetent part of Python doc, in > illustration of the Info Tech industry's masturbation and ignorant > nature. > Note the need to inject the high-brow jargon “greedy” here as a > latch on sentence.

Re: New Python regex Doc

2005-05-07 Thread Mike Meyer
"Xah Lee" <[EMAIL PROTECTED]> writes: > Let me expose one another fucking incompetent part of Python doc, in > illustration of the Info Tech industry's masturbation and ignorant > nature. What you actually expose is your own ignorance. > Note: “In other words, the "|" operator is never greedy.”

Re: New Python regex Doc

2005-05-07 Thread Peter Hansen
Ron Adam rote: > I suppose that if you respectfully offer something even a little better > it would be respectfully accepted, after due review of course. You will > probably even get many helpful suggestions along they way because you > will have created a situation where every one wins. Remar

Re: New Python regex Doc

2005-05-07 Thread Ron Adam
Xah Lee wrote: > Let me expose one another fu Hello Xah, I think you will continue to have difficulty getting respect on this matter as long as you show disrespect to those who have come before you. When you refer to the documentation as being f'ing stupid, and other disrespectful terms, y

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-07 Thread John Bokma
Xah Lee wrote: > Let me expose one another fucking incompetent part of your writing capablities? If you really had a point, there wouldn't be any need of swearing... -- John MexIT: http://johnbokma.com/mexit/ personal page: http://

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-07 Thread James Stroud
On Saturday 07 May 2005 04:28 pm, Xah Lee wrote: > Note: âIn other words, the "|" operator is never greedy.â > > Note the need to inject the high-brow jargon âgreedyâ here as a > latch on sentence. The first definition of "jargon" in the Collaborative International Dictionary of English is: "To

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-07 Thread Xah Lee
Let me expose one another fucking incompetent part of Python doc, in illustration of the Info Tech industry's masturbation and ignorant nature. The official Python doc on regex syntax ( http://python.org/doc/2.4/lib/re-syntax.html ) says: --begin quote-- "|" A|B, where A and B can be arbitrary R

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-07 Thread Philippe C. Martin
This is nice! I just might understand regex eventually. Xah Lee wrote: > erratum: > > the correct URL is: > http://xahlee.org/perl-python/python_re-write/lib/module-re.html > > Xah > [EMAIL PROTECTED] > â http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-07 Thread Skip Montanaro
Xah> I don't know what kind of system is used to generate the Python Xah> docs, but it is quite unpleasant to work with manually, as there Xah> are egregious errors and inconsistencies. The main Python documentation is written in LaTeX. I believe most, if not all, HTML is generated b

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-06 Thread Xah Lee
erratum: the correct URL is: http://xahlee.org/perl-python/python_re-write/lib/module-re.html Xah [EMAIL PROTECTED] â http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-06 Thread Xah Lee
HTML Problems in Python Doc I don't know what kind of system is used to generate the Python docs, but it is quite unpleasant to work with manually, as there are egregious errors and inconsistencies. For example, on the âModule Contentsâ page ( http://python.org/doc/2.4.1/lib/node111.html ), the c

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-06 Thread Jeff Epler
To add to what others have said: * Typos and lack of spell-checking, such as "occurances" vs "occurrences" * Poor grammar, such as "Other characters that has special meaning includes:" * You dropped version-related notes like "New in version 2.4" * You seem to love the use of s, while docs.py

Re: New Python regex Doc

2005-05-06 Thread Steve Holden
Fredrik Lundh wrote: > Xah Lee wrote: > > >>I have now also started to rewrite the re-syntax page. At first i >>thought that page needs not to be rewritten, since its about regex and >>not really involved with Python. But after another look, that page is >>as incompetent as every other page of Py

Re: New Python regex Doc

2005-05-05 Thread Bryan
Xah Lee wrote: > Extra point: If the Python command line interface is actually a robust > application, like so-called IDE e.g. Mathematica front-end, then things > are very different. In reality, the Python command line interface is a > fucking toy whose max use is as a simplest calculator and dou

Re: New Python regex Doc

2005-05-05 Thread André Roberge
alex23 wrote: > Xah Lee wrote: > >>99% of programers really don't need to give a flying fuck about the >>history of a language. > > > Ironically, I'm pretty confident that the same percentage of readers on > this group feel _exactly the same way_ about your 'improvements'. > > -alex23 > I take

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-05 Thread alex23
Xah Lee wrote: > 99% of programers really don't need to give a flying fuck about the > history of a language. Ironically, I'm pretty confident that the same percentage of readers on this group feel _exactly the same way_ about your 'improvements'. -alex23 -- http://mail.python.org/mailman/list

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-05 Thread Fredrik Lundh
Xah Lee wrote: > I have now also started to rewrite the re-syntax page. At first i > thought that page needs not to be rewritten, since its about regex and > not really involved with Python. But after another look, that page is > as incompetent as every other page of Python documentation. > > The

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-05 Thread Xah Lee
I have now also started to rewrite the re-syntax page. At first i thought that page needs not to be rewritten, since its about regex and not really involved with Python. But after another look, that page is as incompetent as every other page of Python documentation. The rewritten page is here: htt

Re: New Python regex Doc (was: Python documentation moronicities)

2005-04-20 Thread marco
Re: http://xahlee.org/perl-python/python_re-write/lib/module-re.html Bill Mill <[EMAIL PROTECTED]> writes: > Alright, I feel like I'm feeding the trolls just by posting in this > thread. Just so that nobody else has to read the "revised" docs, no it > doesn't: I find that Lee's version compleme

Re: New Python regex Doc (was: Python documentation moronicities)

2005-04-19 Thread Bill Mill
On 4/18/05, Jeff Epler <[EMAIL PROTECTED]> wrote: > On Mon, Apr 18, 2005 at 01:40:43PM -0700, Xah Lee wrote: > > i have rewrote the Python's re module documentation. > > See it here for table of content page: > > http://xahlee.org/perl-python/python_re-write/lib/module-re.html > > For those who ha

Re: New Python regex Doc (was: Python documentation moronicities)

2005-04-19 Thread Xah Lee
send your feedbacks to Steve Holden. (http://www.holdenweb.com/) If he deem it proper, he will paypal me $100 bucks, and you can thank him for the instigation and betterment of the Python doc. Meanwhile, feel free to incorporate my edits into python doc. Xah [EMAIL PROTECTED] â http://xahlee.or

Re: New Python regex Doc (was: Python documentation moronicities)

2005-04-18 Thread Jeff Epler
On Mon, Apr 18, 2005 at 01:40:43PM -0700, Xah Lee wrote: > i have rewrote the Python's re module documentation. > See it here for table of content page: > http://xahlee.org/perl-python/python_re-write/lib/module-re.html For those who have long ago consigned Mr. Lee to a killfile, it looks like he'

New Python regex Doc (was: Python documentation moronicities)

2005-04-18 Thread Xah Lee
i have rewrote the Python's re module documentation. See it here for table of content page: http://xahlee.org/perl-python/python_re-write/lib/module-re.html The doc is broken into 4 sections: * regex functions (node111.html) * regex OOP (re-objects.html) * matched objects (match-objects.html) * re