Commit e0bfe155 authored by kcristiano's avatar kcristiano Committed by colemanw

CRM-21166: remove whitespace from regex

parent 6055a0f3
......@@ -1163,7 +1163,7 @@ if ( ! defined( 'CIVICRM_WPCLI_LOADED' ) ) {
// Find protocol and hostspec
if ( preg_match( '|^([^(]+)\((.*? )\)/?(.*?)$|', $dsn, $match ) ) {
if ( preg_match( '|^([^(]+)\((.*?)\)/?(.*?)$|', $dsn, $match ) ) {
// $dsn => proto( proto_opts )/database
$proto = $match[1];
$proto_opts = $match[2] ? $match[2] : false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment