XML Feeds

.

[javascript-dev] String.search problem...

Joshua Kit Clayton jkc at musork.com
Wed Jan 23 15:07:57 MST 2008


On Jan 23, 2008, at 1:34 PM, Patrick Delges wrote:

>
> On 23-janv.-08, at 20:48, Anthony Palomba wrote:
>
>> For the life of me, I can not figure this one out. I know
>> search is a method that exists because I have called
>> it before with no problems. Anyone have any ideas?
>
> I can't test your code now, but afaik, String.search() expects a  
> regular expression as argument, but "[" doesn't look like a RE.

It also might be related to the generally known, but harmless error  
reported when using regular expression objects in JS.

-Joshua


More information about the javascript-dev mailing list