Skip to content

Instantly share code, notes, and snippets.

@Hanmac
Forked from bricker/regex.rb
Last active December 18, 2015 03:19
m = query.query_url.match(Regexp.union(
/form_code=(?<id>[a-zA-Z0-9]+)/,
/form\/.+?\/(?<id>[a-zA-Z0-9]+)/,
/iframe\/(?<id>[a-zA-Z0-9]+)/))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment