Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/String-comparison/Tailspin/string-comparison.tailspin
Normal file
15
Task/String-comparison/Tailspin/string-comparison.tailspin
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
$a -> \(when <=$b> do '$a; equals $b;' ! \) -> !OUT::write
|
||||
|
||||
$a -> \(when <~=$b> do '$a; not equal to $b;' ! \) -> !OUT::write
|
||||
|
||||
$a -> \(when <..$b> do '$a; lexically less or equal to $b;' ! \) -> !OUT::write
|
||||
|
||||
$a -> \(when <$b..> do '$a; lexically greater or equal to $b;' ! \) -> !OUT::write
|
||||
|
||||
$a -> \(when <..~$b> do '$a; lexically less than $b;' ! \) -> !OUT::write
|
||||
|
||||
$a -> \(when <$b~..> do '$a; lexically greater than $b;' ! \) -> !OUT::write
|
||||
|
||||
$a -> \(when <'$b;'> do '$a; matches the regex $b;' ! \) -> !OUT::write
|
||||
|
||||
$a -> \(when <'(?i)$b;'> do '$a; matches the regex $b; case insensitively' ! \) -> !OUT::write
|
||||
Loading…
Add table
Add a link
Reference in a new issue