<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Not a biggie, but thought someone might want to know... for next time they're tinkering (Ciarán? ;-) ) with the PHP bundle.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thought I'd try fiddling with my copy of SimpleTest to put txmt style links on the test reports, just to make things a bit easier...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thought I'd just grab what i needed from the $message variable which shows up something like this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> [/Library/WebServer/Documents/pcs/tests/panel_test.php line 56]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Tried putting </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> $linkRef = preg_replace( array('/^.*\[/','/\].*$/','/ line /'), array('<A href="txmt://open?url=file://',''">txmt://open?url=file://',''</A>, '&line='), $message);</DIV><DIV> </DIV><DIV>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 \[. If I didn't happen to be searching for the end square bracket as well, then the rest of the code would be highlighted as a pattern...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hope that's as clear as mud.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>R</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Gill Sans; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">--</SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">Richard Dyce MA (Cantab.) MBCS MIET</SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; ; font-family: Helvetica; font-size: 12px; "><BR style="font-family: Helvetica; font-size: 12px; "></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><A href="http://dyce.com">http://dyce.com</A></SPAN></DIV></SPAN></SPAN><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>