[thelist] Javascript regular expression

Lachlan Cannon thelist at lists.evolt.org
Sat Feb 2 21:39:01 2002


--- Michael Galvin <mpgalvin@eircom.net> wrote:
> Liorean
>
> Silly q, but why the extra / at the start?  Why not just
>
> \\|etc

Javascript uses / to mark the start/end of a regular
expression, as opposed to  " for normal strings.

HTH

Lach

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com