Problem with special characters between "{}" in Vim #16

Open
yurivecchi opened this Issue Apr 26, 2010 · 1 comment

Projects

None yet

2 participants

@yurivecchi

when you type "a.class-${$}*3" you get:

<a href="" class="class-1">$</a>
<a href="" class="class-2">$</a>
<a href="" class="class-3">$</a>

but if you type "a.class-${+ more}*3" you get:

<a href="" class="class-1"></a>
<more></more>
<more></more>
<more></more>

the correct is:

<a href="" class="class-1">+ more</a>
<a href="" class="class-2">+ more</a>
<a href="" class="class-3">+ more</a>   

i think the order of the regular expressions are the problem...

@Shurakai

Another example would

dt{<?php echo $this->escape($this->_('Contained in Module:')) ?>} + dd#blockModule

which results in

<dt></dt> <div> <escape> <_> <div></div> <dd id="blockModule"></dd> </_> </escape> </div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment