f*cking re module

George Sakkis gsakkis at rutgers.edu
Tue Jul 5 17:45:01 CEST 2005


"jwaixs" <jwaixs at gmail.com> wrote:

> To reply to the last part of the discussion and esspecially to Gustavo
> Niemeyer, I really apriciate the way in which I had been answered. And
> I won't have any questions about the re module that I had before I post
> this threat.
>
> I was frustration and should, probebly, not post this frustration. But
> it was never my purpous to ask something stupid or asking it arrogant.

I think most people who answered you calmly realized that it was
frustration rather than arrogance and trolling behavior. This happens
often if you're new to something and/or this something is inherently
complicated; I almost did the same mistake when I had to mess with the
loathsome autoconf/automake/autohell files and tools, but at least I
refrained from the expletives.

> The python re module is, in my opinion, a non beginner user friendly
> module. And it's not meant for beginning python programmers. I don't
> have any experience with perl or related script/programming languages
> like python. (I prefer to do things in c) So the re module is
> completely new for me.

It's not the python re module beginner unfriendly; it's the regular
expression concepts and syntax that the module implements. Read some
introductory material about regexps first (Wikipedia is a good place to
start: http://en.wikipedia.org/wiki/Regular_expression) and then get
familiar with the re module by trying the examples interactively in the
interpreter.

> If I upset someones clean mind posting a "stupid" and "arrogant"
> question, I'm sorry and won't post my frustrasion on this usenet group
> anymore.

It's always a good idea to wait for a few hours before posting anything
you may regret later, but this doesn't mean you should leave this
group; as you saw already, it's far more tolerant and civilized than
other groups in this respect.

> But thank you for all your help about the re module,
> 
> Noud Aldenhoven

Cheers,
George




More information about the Python-list mailing list