]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/TaggingRule.php
Add matches operator
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / TaggingRule.php
index 851af932937f7419510866c8bb6a46baecdfc296..4eab590fd98846632c8e0bdd893d8c0d5d62d07e 100644 (file)
@@ -30,7 +30,7 @@ class TaggingRule
      * @Assert\NotBlank()
      * @RulerZAssert\ValidRule(
      *  allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"},
-     *  allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or"}
+     *  allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches"}
      * )
      * @ORM\Column(name="rule", type="string", nullable=false)
      */