I'll see if I can get that behavior tonight, unless you beat me to it

On 7/19/13, Chris Howlett <notifications@github.com> wrote:
>> @@ -69,14 +70,16 @@ def invoke(rule)
>>        # Scan it for all instances of (unescaped) <rules>
>>        # Each match will be an array containing the portion of string
>> before
>>        # the <rule>; and the <rule> itself (which may be empty on the last
>> match)
>> -      choice.scan(/(.*?(?<!\\)(?:\\\\)*)(<.*?>|$)/) do |match|
>> +
>> +      choice.scan(/(.*?)(<.*?>|$)/) do |match|
>
> This is a functional change. While I haven't documented it, the existing
> code prevents the generator expanding backslash-escaped groups such as
> `"Don't expand this \<group>"`. I see Regex lookbehinds don't work in 1.8.7,
> so we'd need another tactic here.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/asilano/succubus/pull/3/files#r5294831
>


-- 

Graham P Heath