Module colorizer.matcher_utils
Helper functions for colorizer to enable required parsers
Functions
make_matcher (options) | Parse the given options and return a function with enabled parsers. |
Functions
- make_matcher (options)
-
Parse the given options and return a function with enabled parsers.
if no parsers enabled then return false
Do not try make the function again if it is present in the cache
Parameters:
- options table: options created in colorizer.setup
Returns:
-
function|boolean: function which will just parse the line for enabled parsers