logo       

Re: qq|...| in Perl bundle: msg#00210

editors.textmate.general

Subject: Re: qq|...| in Perl bundle

On 23/06/2005, at 14.48, Brian Lalor wrote:

In the language editor, look for the following for the Perl language:
name = "string.unquoted.qq.perl";

Change
begin = "qq([^\\(\\{\\[])";
to
begin = "qq([^\\(\\{\\[\\|])";
^^^

Actually this is for generic qq<char> and _excludes_ the paired characters (since it uses <char> in the end pattern, which doesn't work for the paired ones).

There is a note in the svn log regarding pipes (|) not working

Oh… must have missed that note. This is actually a TM bug (which I wasn't aware of). It interprets special characters in the back- reference, resulting in | not being matched literally.

I'll fix that for 1.1b14 — until then, a special rule to handle | can be made, similar to the special rules for the brackets.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise