Michael Kay wrote:
1C58F5C150C343ACBF2819C5B466B958@Sealion" type="cite">Wouldn't (P|Q|R)* accept PQR, RQP, and along with the not-necessarily-acceptable PRQ, RPQ, QPR and QRP? I suppose you're just giving a quick description in the above? Granted, it is difficult to fathom the intent of the creator from just one instance, the most a heuristic can conclude without risking over-accepting potentially unwanted patterns would just be ((P|R)Q(P|R))*. regards, Chin Chee-Kai |