[TxMt] Minor PHP Scoping/Formatting Blip

Ciarán Walsh ciawal at gmail.com
Tue Jul 24 15:54:24 UTC 2007


On 24 Jul 2007, at 16:41, Richard Dyce wrote:

>
> Tried putting
>
>     $linkRef = preg_replace( array('/^.*\[/','/\].*$/','/ line /'),  
> array('txmt://open?url=file://','', '&line='), $message);
>
> which works as far as the links go, but throws a distinct wobbly in  
> terms of scope within TM after that delimited open square bracket \[.

Hi Richard,

Thanks for the report.

Are you using a Subversion checkout of the PHP bundle? I've just  
copied and pasted that line into a PHP file and it was highlighted as  
I'd expect [1]

[1]: http://pastie.textmate.org/81761
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070724/1b920727/attachment.html>


More information about the textmate mailing list