In case of word wrapping the text between (but not including) the lines
of asterisks should be on one line:

I am using the following expression
*******************************************************************************
\\([^][ \t\r\n{}()]+\\):[ ]*\\(d\\(ef\\|oes\\)\\|func\\(tion\\)\\|has\\|sub?\\)
*******************************************************************************

To colorize the following words: "def" "does" "func" "function" "has"
"sub" - which define subroutines.

When I type the following:  test: def[val][print val], "def" is
colorized properly. One would exect that adding a letter to "def" would
turn off the target color, but does not. This suggests to me that
I have not properly defined the word boundary in the expression above.

Can anyone tell me what I am doing wrong?

FYI: This is for the rebol programming language (www.rebol.com), it
     should be noted that in lispish fashion, a subroutine is an
     expression, not an immutable control structure.

thanks
tim

-- 
Tim Johnson <[EMAIL PROTECTED]>
      http://www.alaska-internet-solutions.com


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to