vadv/zabbixapi — pull request #24 by yves-vogl (2013-04-18 12:01:05+00:00)
Title: Fixed Regexp issue

Hi,

I fixed a small issue. I think you just forgot to escape the brackets.

SyntaxError
-----------
/usr/lib64/ruby/gems/1.8/gems/zabbixapi-0.5.7/lib/zabbixapi/2.0/classes/triggers.rb:42: invalid regular expression; there's no previous pattern, to which '{' would define cardinality at 1: /{(\d*)}/
/usr/lib64/ruby/gems/1.8/gems/zabbixapi-0.5.7/lib/zabbixapi/2.0/classes/triggers.rb:47: invalid regular expression; there's no previous pattern, to which '{' would define cardinality at 1: /{.*\:/