Regular Expressions 101

Community Patterns

iFiske CORS

0

Regular Expression
PCRE (PHP <7.3)

/
^((?:(?:https?):\/\/(?:(?:(?:.+\.)?ifiske\.se)|(?:localhost))|(?:ifiske:\/\/.*))(?::\d{1,5})?)$
/
gm

Description

Ska matcha subdomäner av ifiske.se Ska matcha ifiske://vadsomhelst Ska matcha localhost Ska matcha alla portar

Submitted by anonymous - 5 years ago