Detect rst edges.