Just the regexp. It's done by adding /o to it.

http://stackoverflow.com/questions/13334807/what-does-the-o-modifier-for-a-regexp-mean


- tobi
CEO Shopify


On Wed, Apr 9, 2014 at 10:00 AM, Didier Lafforgue
<notifications@github.com>wrote:

> In lib/liquid/tags/extends.rb:
>
> > @@ -0,0 +1,76 @@
> > +module Liquid
> > +
> > +  # Extends allows designer to use template inheritance
> > +  #
> > +  #   {% extends home %}
> > +  #   {% block content }Hello world{% endblock %}
> > +  #
> > +  class Extends < Block
> > +    Syntax = /(#{QuotedFragment}+)/
>
> hi @tobi <https://github.com/tobi>! do you mean for the overall
> implementation or in some specific methods?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Shopify/liquid/pull/336/files#r11436430>
> .
>