in reply to Wierd Regex stuff..

Yep. The * is saying, "ok, match the previous expression, 'a', zero or more times.

What you may consider doing is somelthing like this:

/$search(.)*/

This way, it will match anything within $search, plus any character zero or more times.

Replies are listed 'Best First'.
RE: RE: Wierd Regex stuff..
by dempa (Friar) on May 21, 2000 at 17:12 UTC
    ... or just leave the "*" out. /dempa