Yii2 rules in the Url manager, how to specify both letters, symbols and numbers?

The entry is
'/test/<key:\d+>' => 'site/test',
As in key to specify both letters, symbols and numbers?
March 19th 20 at 08:36
1 answer
March 19th 20 at 08:38
Good morning.
'/test/<key:\w+>' => 'site/test',
Regular expressions for beginners.
Good morning.
w+ implies the use of a complete set of characters(letters numbers and signs)? - camilla_Koch commented on March 19th 20 at 08:41
@camilla_Kochtake a look at the link I gave. - stone commented on March 19th 20 at 08:44
@stone, Thanks - camilla_Koch commented on March 19th 20 at 08:47
@camilla_Koch, "thank you" too much, but "noteworthy decision" at the time))) - stone commented on March 19th 20 at 08:50

Find more questions by tags Yii