[code] [scintillua] attempting to use alnum or underscore following word_match()

From: Justin Dailey <dail8859.att.yahoo.com>
Date: Mon, 20 Mar 2017 16:40:07 +0000 (UTC)

I'm not sure if this is something I'm simply overlooking or a bug. I'm attempting to use something like this:
local macro = token('macro', '__' * word_match({'FILE', 'LINE'}, nil, true) * "__")
However this never seems to match anything. It seems to be due to whatever is following the word_match(). If it is anything in "%w_" then it doesn't work as expected. If other symbols are used, such as:
local macro = token('macro', '__' * word_match({'FILE', 'LINE'}, nil, true) * "##")
Then it works as expected. (Of course this can be simply worked around if needed).

Thanks,Justin

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 20 Mar 2017 - 12:40:07 EDT

This archive was generated by hypermail 2.2.0 : Tue 21 Mar 2017 - 06:52:59 EDT