On Nov 7, 3:13 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 6, 2008 at 11:06 PM, <[EMAIL PROTECTED]> wrote:
> > I always have no idea about how to express "conclude the entire word"
> > with regexp, while using python, I encountered this problem again...
>
> > for example, if I wan
On Nov 7, 3:06 pm, [EMAIL PROTECTED] wrote:
> I always have no idea about how to express "conclude the entire word"
> with regexp, while using python, I encountered this problem again...
>
> for example, if I want to match the "string" in "test a string",
> re.findall(r"[^a]* (\w+)","test a string
I always have no idea about how to express "conclude the entire word"
with regexp, while using python, I encountered this problem again...
for example, if I want to match the "string" in "test a string",
re.findall(r"[^a]* (\w+)","test a string") will work, but what if
there is not "a" but "an"(t