Consult the docs for "non-greedy" quantifiers. /Sequence \s+ (.*?) \s+ consists/x
In reply to Re: Regxp: signaling when to stop by Fletch in thread Regxp: signaling when to stop by kotoko