Hey, Ed, Regarding comments, J has the NB. and a built-in Note noun. If you type in Note, hit enter, you'd get its definition (on 903 and 904) 3 : '0 0 $ 0 : 0' :[
And, whilst experimenting a bit to get the syntax highlighting for the kakoune text editor right, I can say with confidence these are the regular expressions for the start and end of comments: (?<![\w])NB\.(?![:.]) $ Note\h*'[^)]*'[^)]* \) The latter being multiline. cheers, vlg ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm