V
V
Viktor Volkov2018-03-28 09:00:14
Yii
Viktor Volkov, 2018-03-28 09:00:14

How does this regex work?

'<controller:\w+>/<action:\w+>'=>'<controller>/<action>'

I understand from the context what it does, but even I can’t find a description anywhere. throw a link

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arman, 2018-03-28
@Arik

Parsing and generating URLs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question