Try this
output = Exits.results(profile,:filters =>{:page_path.contains => "^/teams/[1|2]$"})
you can also try shorthand
output = profile.exits(:filters =>{:page_path.contains => "^/teams/[1|2]$"})
with date options
output = Exits.results(profile, :filters => {:page_path.contains => "^/teams/[1|2]$"},:start_date => Date.new(2012,8,13),:end_date => Date.today)
or
output = profile.exits(:filters => {:page_path.contains => "^/teams/[1|2]$"},:start_date => Date.new(2012,8,13),:end_date => Date.today)
This works for me
use contains
instead of matches
I think it does not understand regex.