Re: Is there a maximum length of a regular expression in python?

2006-01-24 Thread Frithiof Andreas Jensen
Bryan Olson [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] Roy Smith wrote: Does no one care about an internal error in the regular expression engine? Yes, but - given the example - In about the same way that I care about an internal error in my car engine after dropping a

Re: Is there a maximum length of a regular expression in python?

2006-01-24 Thread fuzzylollipop
this should really be posted to http://www.thedailywtf.com/, I wonder if they have a german version of TheDailyWTF.com? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a maximum length of a regular expression in python?

2006-01-20 Thread Bryan Olson
Roy Smith wrote: [EMAIL PROTECTED] wrote: I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular expressions, but it should

Re: Is there a maximum length of a regular expression in python?

2006-01-20 Thread Roy Smith
In article [EMAIL PROTECTED], Bryan Olson [EMAIL PROTECTED] wrote: Roy Smith wrote: [EMAIL PROTECTED] wrote: I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I

Re: Is there a maximum length of a regular expression in python?

2006-01-20 Thread Steve Holden
Bryan Olson wrote: Roy Smith wrote: [EMAIL PROTECTED] wrote: I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular

Re: Is there a maximum length of a regular expression in python?

2006-01-20 Thread Paul Rubin
Steve Holden [EMAIL PROTECTED] writes: Does no one care about an internal error in the regular expression engine? Not one that requires parsing a 100 kilobyte re that should be replaced by something more sensible, no. If the internal error means the re engine bumped into some internal

Re: Is there a maximum length of a regular expression in python?

2006-01-20 Thread Roy Smith
In article [EMAIL PROTECTED], Paul Rubin http://[EMAIL PROTECTED] wrote: Steve Holden [EMAIL PROTECTED] writes: Does no one care about an internal error in the regular expression engine? Not one that requires parsing a 100 kilobyte re that should be replaced by something more

Re: Is there a maximum length of a regular expression in python?

2006-01-20 Thread Tim Peters
[Bryan Olson] Does no one care about an internal error in the regular expression engine? [Steve Holden] Not one that requires parsing a 100 kilobyte re that should be replaced by something more sensible, no. I care: this is a case of not detecting information loss due to unchecked

Re: Is there a maximum length of a regular expression in python?

2006-01-20 Thread Steve Holden
Tim Peters wrote: [Bryan Olson] Does no one care about an internal error in the regular expression engine? [Steve Holden] Not one that requires parsing a 100 kilobyte re that should be replaced by something more sensible, no. I care: this is a case of not detecting information loss

Re: Is there a maximum length of a regular expression in python?

2006-01-19 Thread Frithiof Andreas Jensen
[EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular

Re: Is there a maximum length of a regular expression in python?

2006-01-19 Thread Fredrik Lundh
Frithiof Andreas Jensen wrote: I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular expressions, but it should nonetheless

Is there a maximum length of a regular expression in python?

2006-01-18 Thread olekristianvillabo
I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular expressions, but it should nonetheless work. the pattern is ur'(N-|NO-)?(5259

Re: Is there a maximum length of a regular expression in python?

2006-01-18 Thread Steve Holden
[EMAIL PROTECTED] wrote: I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular expressions, but it should nonetheless work.

Re: Is there a maximum length of a regular expression in python?

2006-01-18 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular expressions, but it should nonetheless work.

Re: Is there a maximum length of a regular expression in python?

2006-01-18 Thread Roy Smith
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I have a regular expression that is approximately 100k bytes. (It is basically a list of all known norwegian postal numbers and the corresponding place with | in between. I know this is not the intended use for regular expressions, but