On 2019-12-10 12:35, ToddAndMargo via perl6-users wrote:

Excluding something from the search:

    Warning: in the following, use "none" not "not" to negate if "coming soon"
              is found.  "not" will always return False.

    say so Q[<strong>2018.2.0; Coming Soon</strong>].fc.contains("strong" & none "coming soon");
     False

I just added:

Excluding something from the search:

Warning: in the following, use "none" not "not" to negate if "coming soon"
             is found.  "not" will always return False.

say so Q[<strong>2018.2.0; Coming Soon</strong>].fc.contains("strong" & none "coming soon");
    False

say so Q[<strong>2018.2.0; Coming Soon</strong>].fc.contains("strong" & none "coming later");
    True

Reply via email to