Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [pugdog] Highlight search terms: Edit Log

Here is the list of edits for this post
Re: [pugdog] Highlight search terms
Quote:
$query_term =~ s|\s+|%20|sig;

The i and s in that regex are redundant.

Also this won't do what you think it will:

Quote:
$query_term =~ s|%20|\s|sig;

It should be:

Code:
$query_term =~ s|%20| |g;

Last edited by:

Paul: Mar 8, 2003, 2:52 AM

Edit Log: