Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

yurivecchi opened this issue Apr 26, 2010 · 1 comment

Comments

@yurivecchi
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants