Re: Regex similar to "^(?u)\w$", but without digits?

2009-04-12 Thread Mark Tolonen
"Andreas Pfrengle" wrote in message news:26d3bec3-8329-4432-a680-05c17f930...@3g2000yqk.googlegroups.com... On 12 Apr., 02:31, "Mark Tolonen" wrote: "Andreas" wrote in message news:f953c845-3660-4bb5-8ba7-00b93989c...@b1g2000vbc.googlegroups.com... > Hello, > I'd like to create a regex t

Re: Regex similar to "^(?u)\w$", but without digits?

2009-04-12 Thread Andreas Pfrengle
On 12 Apr., 02:31, "Mark Tolonen" wrote: > "Andreas" wrote in message > > news:f953c845-3660-4bb5-8ba7-00b93989c...@b1g2000vbc.googlegroups.com... > > > Hello, > > > I'd like to create a regex that captures any unicode character, but > > not the underscore and the digits 0-9. "^(?u)\w$" captures

Re: Regex similar to "^(?u)\w$", but without digits?

2009-04-12 Thread Andreas Pfrengle
On 12 Apr., 02:31, "Mark Tolonen" wrote: > "Andreas" wrote in message > > news:f953c845-3660-4bb5-8ba7-00b93989c...@b1g2000vbc.googlegroups.com... > > > Hello, > > > I'd like to create a regex that captures any unicode character, but > > not the underscore and the digits 0-9. "^(?u)\w$" captures

Re: Regex similar to "^(?u)\w$", but without digits?

2009-04-11 Thread Mark Tolonen
"Andreas" wrote in message news:f953c845-3660-4bb5-8ba7-00b93989c...@b1g2000vbc.googlegroups.com... > Hello, > > I'd like to create a regex that captures any unicode character, but > not the underscore and the digits 0-9. "^(?u)\w$" captures them also. > Is there a possibility to restrict an exp

Re: Regex similar to "^(?u)\w$", but without digits?

2009-04-11 Thread John Machin
On Apr 12, 4:29 am, Andreas wrote: > Hello, > > I'd like to create a regex that captures any unicode character, but > not the underscore and the digits 0-9. [requirement 1] > "^(?u)\w$" captures them also. > Is there a possibility to restrict an expression like "\w" to "\w > without [0-9_]"? [r

Regex similar to "^(?u)\w$", but without digits?

2009-04-11 Thread Andreas
Hello, I'd like to create a regex that captures any unicode character, but not the underscore and the digits 0-9. "^(?u)\w$" captures them also. Is there a possibility to restrict an expression like "\w" to "\w without [0-9_]"? I'm using python 2.5.4 Thanks in advance, Andreas -- http://mail.pyth