On 2014-01-26 12:15, Roy Smith wrote:
> > The set [A-z] is equivalent to
> > [ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz]
>
> I'm inclined to suggest the regex compiler should issue a warning
> for this.
>
> I've never seen a character range other than A-Z, a-z, or 0-9.
> Well,
On 26/01/2014 17:25, Chris Angelico wrote:
On Mon, Jan 27, 2014 at 4:15 AM, Roy Smith wrote:
In article ,
Chris Angelico wrote:
The set [A-z] is equivalent to
[ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz]
I'm inclined to suggest the regex compiler should issue a warning f
On 26/01/2014 17:15, Blake Adams wrote:
On Sunday, January 26, 2014 12:08:01 PM UTC-5, Chris Angelico wrote:
On Mon, Jan 27, 2014 at 3:59 AM, Blake Adams wrote:
If I want to set up a match replicating the '\w' pattern I would assume that
would be done with '[A-z0-9_]'. However, when I run t
On Mon, Jan 27, 2014 at 4:15 AM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> The set [A-z] is equivalent to
>> [ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz]
>
> I'm inclined to suggest the regex compiler should issue a warning for
> this.
>
> I've never seen a ch
On Sunday, January 26, 2014 12:08:01 PM UTC-5, Chris Angelico wrote:
> On Mon, Jan 27, 2014 at 3:59 AM, Blake Adams wrote:
>
> > If I want to set up a match replicating the '\w' pattern I would assume
> > that would be done with '[A-z0-9_]'. However, when I run the following:
>
> >
>
> > re.f
On Sunday, January 26, 2014 12:06:59 PM UTC-5, larry@gmail.com wrote:
> On Sun, Jan 26, 2014 at 9:59 AM, Blake Adams wrote:
>
> > Im pretty new to Python and understand most of the basics of Python re but
> > am stumped by a unexpected matching dynamics.
>
> >
>
> > If I want to set up a m
In article ,
Chris Angelico wrote:
> The set [A-z] is equivalent to
> [ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz]
I'm inclined to suggest the regex compiler should issue a warning for
this.
I've never seen a character range other than A-Z, a-z, or 0-9. Well, I
suppose A-F
On Mon, Jan 27, 2014 at 3:59 AM, Blake Adams wrote:
> If I want to set up a match replicating the '\w' pattern I would assume that
> would be done with '[A-z0-9_]'. However, when I run the following:
>
> re.findall('[A-z0-9_]','^;z %C\@0~_') it matches ['^', 'z', 'C', '\\', '0',
> '_']. I woul
On Sun, Jan 26, 2014 at 9:59 AM, Blake Adams wrote:
> Im pretty new to Python and understand most of the basics of Python re but am
> stumped by a unexpected matching dynamics.
>
> If I want to set up a match replicating the '\w' pattern I would assume that
> would be done with '[A-z0-9_]'. How