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:
parent
15f52909ed
commit
2b775c48d6
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ end
|
|||
Или с параметром блока:
|
||||
|
||||
```ruby
|
||||
# Находит "GET /meta/hello/world", "GET /hello/world/1234" и так далее
|
||||
get %r{/hello/([\w]+)} do |c|
|
||||
"Hello, #{c}!"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue