(example\.com)|(example.net) Multiple patterns can be strung together by using a pipe. Matches example.com OR example.net.

The second domain, the . is not escaped.

As a side note, any plans to perhaps expand this to either, (1) allow users to submit individual links without using regex or (2) with jquery provide a listing of all matching urls for the regex a user has submitted.

Great module btw.

Comments

quicksketch’s picture

Title: Documentation Error (Examples) » Documentation error in example regexes
Status: Active » Fixed

Thanks, fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.