Mojo.PatternMatching

Class Detail

Describe PatternMatching what is it for...

Method Summary
Method Name and Description
Mojo.PatternMatching.addContactMatchFormatting(input, filter, template)
Mojo.PatternMatching.getContactPatternMatch(filter)
Method Detail
Mojo.PatternMatching.addContactMatchFormatting(input, filter, template)

Properly highlight a contact string when it is being filtered/ matched

Parameters:
{Object} input
text to change
{Object} filter
string to match
{Object} template
optional; what to use to draw the highlighting
Mojo.PatternMatching.getContactPatternMatch(filter)

Get the RegExp pattern for contacts where the first letter corresponds to first name and all other letters correspond to last name

Parameters:
{Object} filter
string to match

Documentation generated by JsDoc Toolkit 2.1.1 on Thu Oct 29 2009 15:28:12 GMT-0700 (PDT)