Closed Bug 737522 Opened 12 years ago Closed 11 years ago

Add examples for page-mod using bare regular expressions

Categories

(Add-on SDK Graveyard :: Documentation, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: canuckistani, Assigned: wbamberg)

Details

It is a pretty natural pattern to just use regexes for the include property in the page-mod module's options argument. While this pattern works perfectly well, we don't show any examples for doing this.
Assignee: nobody → erikvvold
Assignee: erikvvold → evold
someone else want to do this one?
Assignee: evold → nobody
Assignee: nobody → wbamberg
The new page-mod documentation includes an example using a regex: https://addons.mozilla.org/en-US/developers/docs/sdk/latest/modules/sdk/page-mod.html#PageMod%28options%29.

Only one, but the linked match-pattern documentation includes a bunch more.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.