Fwd: Ticket #277688 Keywords filters – Regex does not pickup articles

———- Mensaje reenviado ——— De: etruel support NO-REPLY <support@etruel.com> Fecha: El jue, 4 jun. 2020 a la(s) 07:55 Asunto: Ticket #277688 Keywords filters – Regex does not pickup articles Para: etruel <etruel@gmail.com>
Tsanislav Kolev: tsanislav@gmail.com open this ticket:
*Keywords filters – Regex does not pickup articles* (#277688 <etruel.com/wp-admin/post.php?post=277688&action=edit>)

I have an error in the processing of a regex that should pick up articles, but instead there is no match. I am not sure how the syntax of the regex works in PHP, but I tested the following: *(?ixs)(coal|coal-fired|kohl|steenkool|kolen|węgiel|fossil)(.*co2|(.*electricity)|(.*power)|(.*phas)|(.*plant)|(.*instalacja)|(.*instalacja)|(.*elektryczność)|(.*installatie)|(.*elektriciteit)*) and it works in picking up phrases in articles where you have for example coal AND (plant OR power).
I receive in the log a WARNING preg_match(): Unknown modifier ‘(‘ and then process skips the word match
View Ticket <etruel.com/wp-admin/post.php?post=277688&action=edit>
or follow this link: etruel.com/wp-admin/post.php?post=277688&action=edit ——————————
*NOTE*: The answers by email are not received.
Regards, etruel.com Terms <sendwp.com/tos> • Privacy <sendwp.com/privacy> • Support <sendwp.com>

Leave a comment

Your email address will not be published. Required fields are marked *