in reply to Re: Pattern matching
in thread Pattern matching

Just want to point out the reg will also exclude those with "LDS" after the "html", e.g.:
/lawyers/stuffnotstuff/~Firms.html?param=LDS
I confess I can't think of a way to solve that.

Replies are listed 'Best First'.
Re^3: Pattern matching
by hv (Prior) on Dec 29, 2004 at 12:43 UTC

    You can do that by combining the two .* aspects of the pattern:

    m{ /lawyers/ (?: (?!LDS) . )* ~Firms.html }x

    Hugo