qbonnard/jekyll — comment on commit 6857e817866bf66cfd3ced1ced79e0b8a7cf30da
File: lib/jekyll/tags/extract.rb line 43
By pcreux:

You could also use regexp with multiline matching.

```ruby

s = "hello\nthe world\nstart\nhey this is what i want\nend\nbeh!\n"
m = s.match /start(.*)end/m
m[1]
# => "\nhey this is what i want\n"

```