On 11/3/07 at 16:31 Jim Correia wrote:
>This is really a regex question in its own right, since the solution
>is the same whether or not you are writing a codeless language module.
>
>Choose "Grep Reference" from the "Help" menu, then click on "Advanced
>Grep Topics" and read about pattern modifiers.
>
>Something like this ought to solve the problem:
>
>(?s)^C.*?\$
Jim,
Thanks for that. This plus the pointer to plutil were both a big help.
The language is now back again and comments are almost working. The almost
comes from the fact they are coloured red (strings) rather than as comments. I
presume this comes from the way I have implemented the regex within the plist
file.
<key>Comment Pattern</key>
<string>(?s)^C.*?\$</string>
For whatever reason this is being matched but is seen as a string.
Regards,
Steve
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>