pylint, was Re: pygame - importing GL - very bad...

Chris Angelico rosuav at
Thu Jan 3 12:27:50 CET 2013

On Thu, Jan 3, 2013 at 10:19 PM, someone <newsboost at> wrote:
> Doesn't this "[ ... ]" mean something optional?
> What does {2,30}$ mean?
> I think $ means that the {2,30} is something in the end of the sentence...

You can find regular expression primers all over the internet, but to
answer these specific questions: [...] means any of the characters in
the range; the $ means "end of string"; and {2,30} means at least two,
and at most thirty, of the preceding character. So you have to have
one from the first group, then 2-30 from the second, for a total of
3-31 characters in your names.


More information about the Python-list mailing list