Stopping times and sample path regularity