lib/rufus/scheduler.rb in rufus-scheduler-2.0.1 vs lib/rufus/scheduler.rb in rufus-scheduler-2.0.2

- old
+ new

@@ -47,9 +47,9 @@ # Returns true if the given string seems to be a cron string. # def self.is_cron_string (s) - s.match('.+ .+ .+ .+ .+') # well... + s.match(/.+ .+ .+ .+ .+/) # well... end end