Boost logo

Boost :

From: Philippe Lalande (plalande-boost_at_[hidden])
Date: 2002-10-09 10:06:14


Vladimir Prus (ghost_at_[hidden]) wrote:
> Beman Dawes wrote:
>
> >Could any of the regex experts help us out? As Dave says, what we need
> >is a regular expression that will detect that a URL has a space in it.
>
> After several attempts, I've come with
>
> grep "href=\"[^\" ]* .*\"" `find ~/Work/boost -name "*.htm"`
>
> which seems to work, producing the attached list.

[attached list skipped]

You should also check for the 'name' attribute (or/and 'id' if it is used).
Only fixing the 'href' will result in broken links.

Philippe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk