Bug #37554
Http\Uri::PATTERN_MATCH_HOST has errors
Start date:
2012-05-28
Due date:
% Done:
100%
Estimated time:
PHP Version:
5.3
Has patch:
No
Complexity:
Description
<?php $ret = preg_match('/^[a-zA-Z0-9_~!&\',;=\.\-\$\(\)\*\+]|(?:%[0-9a-fA-F]{2}))*$/', 'www.example.com', $matches); ?>
Produces error "PHP Warning: preg_match(): Compilation failed: unmatched parentheses at offset 54"