diff --git a/book/02_getting_started b/book/02_getting_started index 097ba16..bbeea7e 100644 --- a/book/02_getting_started +++ b/book/02_getting_started @@ -123,7 +123,7 @@ simplest ones first. end end - class DigitsAndEverything < R '/nuts/(\d+)/([^/+])' + class DigitsAndEverything < R '/nuts/(\d+)/([^/]+)' def get(number, everything) "You got here by: /nuts/#{number}/#{everything}" end