Cucumb...ssions(3pm)

πŸ“¦
version 9.1.0 Β· 3 versions
, in ubuntu stonking

πŸ’– Cucumber::TagExpressions β€” Tag expression parser

okay bestie, welcome to Cucumber::TagExpressions ✨ it's a Perl module, it lives in the User Contributed Perl Documentation section, and it is literally the thing that parses tag expressions for you. she's small, she's mighty, she slays πŸ’…


🌸 SYNOPSIS

use Cucumber::TagExpressions;

my $expr = Cucumber::TagExpressions->parse( '@a and @b' );
if ( $expr->evaluate( qw/x y z/ ) ) {
   say "The evaluation returned false";
}

no notes, that's just how it is 🫢


πŸ¦‹ DESCRIPTION

so, Cucumber tag expressions are how users define the subset of Gherkin scenarios they actually wanna run. this library's whole job? parse that expression, then hand you back an evaluator object that you can use to test the tags specified on a scenario against the filter expression. that's it, that's the gig, and honestly she ate πŸ‘‘


⭐ CLASS METHODS

$class->parse( $expression )

Parses the string you put in $expression, and returns a Cucumber::TagExpressions::ExpressionNode instance. peak behavior, fr fr 🌈


πŸ“œ LICENSE

Please see the included LICENSE for the canonical version. In summary:

The MIT License (MIT)

Copyright (c) 2021 Erik Huelsmann
Copyright (c) 2021 Cucumber Ltd

This work is loosely derived from prior work of the same library for Ruby, called "cucumber-tag-expressions". giving credit where credit is due, as you should πŸ’…


and that's the whole page bestie!! go parse some expressions, you got this βœ¨πŸ’–

this page ships with perl v5.40.1, dated 2026-02-21, under the manual name Cucumb...ssions(3pm) β€” mwah, take care, byeee πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from