Closed Juriy closed 9 years ago
It's because of this regex "" not sure why the - is not allowed by the regex. using the following regex instead will make it work. ""
Duplicate of #21.
Well, atm it is possible to have multiple @echo
rules in one line separated by multiple comment blocks like this:
<!-- @echo 'hello' --><!-- @echo 'world' -->
The minus sign is therefore needed in the regex as a delimiter for the otherwise greedy regex search to catch exactly this case
Any ideas on how to achieve the same effect without forbidding the minus sign in echoed strings?
Hello guys,
Have a look at the following code:
I expect it to print
But I get back an unprocessed value
If you remove the minus sign inside of an
echo
value everything's working fine.