in reply to Combinations with constraints

Sorry, correction: [ c?6, b%5, a%3, a?1] is a valid combination

Replies are listed 'Best First'.
Re^2: Combinations with constraints
by LanX (Saint) on Jun 28, 2022 at 17:34 UTC
    > Sorry, correction: [ c?6, b%5, a%3, a?1] is a valid combination

    That's wrong

    ("c?6", "a?1", "a?2", "b%5")

    is one, a%3 doesn't fit your substring criteria.

    > "a?,b%,c?"

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      Thanks for you comment, Rolf! It just has to contain the substring strings. Any additional strings within the combination are fine (they do not have to conform)