jenkins-bot has submitted this change and it was merged. Change subject: Fix regex ......................................................................
Fix regex Change-Id: I083deca21a3c1636a72f6e828a21aa33e7a2a652 --- M groups/Pywikibot/Suggester.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Nikerabbit: Looks good to me, approved jenkins-bot: Verified diff --git a/groups/Pywikibot/Suggester.php b/groups/Pywikibot/Suggester.php index ef5c221..d90d7fa 100644 --- a/groups/Pywikibot/Suggester.php +++ b/groups/Pywikibot/Suggester.php @@ -9,7 +9,7 @@ public function getInsertables( $text ) { // %(title)s $matches = array(); - preg_match_all( '\%\([^)]+\)[diouxXeEfFgGcrs]/U', $text, $matches, PREG_SET_ORDER ); + preg_match_all( '/\%\([^)]+\)[diouxXeEfFgGcrs]/U', $text, $matches, PREG_SET_ORDER ); $insertables = array_map( function( $match ) { return new Insertable( $match[0], $match[0] ); }, $matches ); -- To view, visit https://gerrit.wikimedia.org/r/222161 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I083deca21a3c1636a72f6e828a21aa33e7a2a652 Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits