Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Update fuse.String#contains to support a RegExp pattern.

#122

Current, the contains method only supports a string to search for, we could also accept a RegExp for the pattern and run a test of the string.

Reported by Joe Gornick · March 5th, 2011 @ 01:43 AM

State: resolved
Milestone: none
Assigned to: John-David Dalton John-David Dalton

Activity

  1. Kit Goncharov
    Kit Goncharov
    • State changed from new to discuss

    March 12th, 2011 @ 04:12 PM

  2. John-David Dalton
    John-David Dalton

    The method is there for consistency of a port of Prototype API. The fuse.Array#contains doesn't support a regexp. What you want is a fuse.String#test, similar to RegExp#test.

    March 14th, 2011 @ 01:21 AM

  3. John-David Dalton
    John-David Dalton
    • State changed from discuss to invalid

    March 14th, 2011 @ 01:21 AM

  4. John-David Dalton
    John-David Dalton
    • State changed from invalid to resolved

    March 14th, 2011 @ 01:26 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.