• WTF is “JS regular expression” and how do you separate them??
    One star just because you don’t tell normal people (in other words non-programmers) if you have to seperate vimeo.com from youtube.com with space, comma, colon, semicolon or what? I tried those four and they don’t work.
    The plugin works, but only with ONE “JS regular expression” unless you explain in normal human language!

    • This topic was modified 4 years, 11 months ago by riccardorb.
    • This topic was modified 4 years, 11 months ago by riccardorb.
Viewing 1 replies (of 1 total)
  • youtube\.com|vimeo\.com

    Is a regular expression for matching youtube.com and vimeo.com. The pipe means OR and the backslash is to treat the period as a literal period. Without the backslash to escape it, the period is interpreted as any character so it would also match youtube1com.

Viewing 1 replies (of 1 total)
  • The topic ‘Explain for normal people!’ is closed to new replies.