We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b3663 commit a24becaCopy full SHA for a24beca
extlib/Auth/OpenID/Parse.php
@@ -218,21 +218,11 @@ function removeQuotes($str)
218
219
function match($regexp, $text, &$match)
220
{
221
- if (!is_callable('mb_ereg_search_init')) {
222
- if (!preg_match($regexp, $text, $match)) {
223
- return false;
224
- }
225
- $match = $match[0];
226
- return true;
+ if (preg_match($regexp, $text, $match)) {
+ return true;
227
}
228
229
- $regexp = substr($regexp, 1, strlen($regexp) - 2 - strlen($this->_re_flags));
230
- mb_ereg_search_init($text);
231
- if (!mb_ereg_search($regexp)) {
232
233
234
- $match = mb_ereg_search_getregs();
235
+ return false;
236
237
238
/**
0 commit comments