[MediaWiki-commits] [Gerrit] Fix regex - change (translatewiki)
Nikerabbit has uploaded a new change for review. https://gerrit.wikimedia.org/r/222161 Change subject: Fix regex .. Fix regex Change-Id: I083deca21a3c1636a72f6e828a21aa33e7a2a652 --- M groups/Pywikibot/Suggester.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/translatewiki refs/changes/61/222161/1 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: newchange Gerrit-Change-Id: I083deca21a3c1636a72f6e828a21aa33e7a2a652 Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Nikerabbit niklas.laxst...@gmail.com ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Fix regex - change (translatewiki)
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