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
Really thanks for quickly reply Chris!
Actually I tried BeautifulSoup and it's great.
But I'm not very familiar with it and it need more codes to parse the html
and get the right text.
I think regexp is more convenient if there is a way to filter out the list
just in one line:)
I did this all the w
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 want to match the "string" in "test a string",
> re.findall(r"[^a]* (\w+
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