Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Problems using Regular Expressions


Message #1 by "Rowena Perks" <Rowenap@w...> on Tue, 14 Nov 2000 11:40:04 -0000
-----Original Message-----
From: Chris Chaffee [mailto:chris@u...]
Sent: 13 November 2000 17:34
To: support@w...
Subject: Professional Javascript 2-70-X


Hello,

I'm having some trouble using Regular Expressions as described on page
218 of Professional Javascript and was hoping you could clarify a bit.
You refer to the Test method of the String object, but I'm unable to
find reference to any such method.  I tried the examples you have
listed, without luck.  I looked up the String object in the Reference
(pg. 819) and it doesn't list a Test method.  The only way I've been
able to even see a RE work is by using the Test method of a RegExp
object.  It would be very useful if I could get it to work on a String
object.  Any suggestions?

Thanks,

  Return to Index