1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Adds a comment to the other regex example ( to russian readme)

This commit is contained in:
Anton Davydov 2015-02-06 00:20:22 +03:00
parent 15f52909ed
commit 2b775c48d6

View file

@ -129,6 +129,7 @@ end
Или с параметром блока:
```ruby
# Находит "GET /meta/hello/world", "GET /hello/world/1234" и так далее
get %r{/hello/([\w]+)} do |c|
"Hello, #{c}!"
end