Regular Expressions 101

Library entries

nginx server_name tokenizer

Vote

0

Regular Expression
pcre

/
^(((((?<feature>feature-[\w-~]+)\.)?((?<isAPI>api)\.)?)|((?<namespace>[\w-~]+)\.)|((?<noMatch>[\w-~\.]+)\.)))?(?<domain>\w+\.\w+)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago