AMOfunctions: Difference between revisions

Jump to navigation Jump to search
Line 93: Line 93:
Tests if a string matches the pattern of an add-on URL
Tests if a string matches the pattern of an add-on URL
* ''addonURL'' - string to verify.
* ''addonURL'' - string to verify.
* ''appName'' - Mozilla application name that is included in the regular expression pattern.
* ''appName'' - Mozilla application name included in the URL pattern .
* Returns True if string matches the pattern of an add-on page URL, otherwise returns False.  Pattern is generated by addonURLwithAppPattern().
* Returns True if string matches the pattern of an add-on page URL, otherwise returns False.  Pattern is generated by addonURLwithAppPattern().


1,072

edits

Navigation menu