pylint, was Re: pygame - importing GL
Chris Angelico
rosuav at gmail.com
Thu Jan 3 06:27:50 EST 2013
More information about the Python-list mailing list
Thu Jan 3 06:27:50 EST 2013
- Previous message (by thread): pylint, was Re: pygame - importing GL - very bad...
- Next message (by thread): pylint, was Re: pygame - importing GL - very bad...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jan 3, 2013 at 10:19 PM, someone <newsboost at gmail.com> 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. ChrisA
- Previous message (by thread): pylint, was Re: pygame - importing GL - very bad...
- Next message (by thread): pylint, was Re: pygame - importing GL - very bad...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list