logo       

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

editors.textmate.general

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

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.

Darn it, I knew there was something wrong! :)

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.

I tried a special rule

{ name = "string.quoted.double.q-pipe.perl";
begin = "\\bq[qwx]*\\|";
end = "\\|";
patterns = ( { match = "(\\b(.*)\\b)"; } );
},

It didn't work either. Confusion.

best, Eric

---
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu-/b/e6/YFAZbgpn9g0Uvcdg@xxxxxxxxxxxxxxxx
http://math.sfsu.edu/hsu



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

News | FAQ | advertise