Last active
August 29, 2015 14:04
-
-
Save wilfriedE/933e6998b04f00d33bea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def subdomain(options={}) | |
end | |
def string(options={}) | |
end | |
def name(options={}) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Strings default: (case insensitive), options: i => case sensitive | |
string #=> This returns regex for only string based (i.e String, example) | |
_string #=> This returns regex for strings including those with underscores | |
op_string #=> This returns regex for strings including all characters except space, tab or newline | |
______________________ | |
Subdomains default: (case sensitive, lowecase), options: none | |
subdomain #=> This returns regex for only string based (i.e subdain, example) | |
options: | |
hex #=> This returns regex for subdomain with numbers included (i.e suBd0m1n) | |
num #=> This returns regex for subdomains with only numbers (This will overide and use numbers only subdomain) | |
uline #=> This returns regex for subdomains including underscores | |
dash #=> This returns regex for subdomains including dashs | |
op #=> This returns regex for subdomains including all options above except num | |
______________________ | |
Names default: (case insensitive), options: i => case sensitive | |
name #=> This returns regex for only string based | |
options: | |
dash #=> This returns regex for only string based | |
uline #=> | |
______________________ | |
Videos | |
http://en.wikipedia.org/wiki/Video_file_format | |
Other formats | |
http://en.wikipedia.org/wiki/List_of_file_formats | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment