[thelist] Javascript regular expression

Lachlan Cannon tiedefenderdelta6 at yahoo.com
Sat Feb 2 21:39:01 CST 2002


--- Michael Galvin <mpgalvin at 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



More information about the thelist mailing list