Hello. I'm trying to build a codeless language module to read log files from a particular software. I have made some progress, but I can't figure out how to use regex in the BBLMKeywordList, is this possible? I want to include */[\w/ .]+* in the keyword list so that it highlights file paths. I'm using the string pattern to highlight any line including the word [error]. And the comment pattern to match anything after a colon.
String Pattern = *(.*\[error\].*)* Comment Pattern = *: .*$* BBLMKeywordList = *OpenCL*, ... Below is a sample snippet from a log file showing how I would like it highlighted. *[2018-08-03 19:24:50.365][warning][encode] Init of encode process failed, no jobs to render?[2018-08-03 19:25:10.796][info][startup] End VideoOut thread[2018-08-03 19:25:13.673][error][processing] Freearray is not implemented in OpenCL yet[2018-08-03 19:25:13.968][info][startup] Revision: 37119 2017 Update 1 [2018-08-03 19:25:13.968][info][startup] Date: 0118-08-03 -- Time: 19:25:13* *[2018-08-03 19:25:15.709][info][startup] AMD Card detected, switch to OpenCL* *[2018-08-03 20:14:22.098][info][startup] Loading LUTs from /Volumes/RAID/NCIS_NOLA_S05/lut/* -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
