Open kevinelliott opened 11 years ago
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.+/)
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.+/)