agent_orange icon indicating copy to clipboard operation
agent_orange copied to clipboard

Allow custom regex overrides for parser

Open kevinelliott opened this issue 12 years ago • 0 comments

Allow developers to inject their own regex matchers for specific needs. These injections should prepend all other parsing so that their additions are prioritized.

Something like this might be nice:

AgentOrange.custom_matchers << AgentOrange::Matcher.new(name: 'Special Bot', regex: /.+SpecialBot.+/)

kevinelliott avatar Jan 16 '13 02:01 kevinelliott