3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'ssh://hg@bitbucket.org/fooman/fm0016_mdn'; var_dump(preg_match('#(?ssh)://(?:[^@]@)?bitbucket.org#i', $url, $matches), $matches);
based on YRREH
Output for 5.6.0 - 7.3.0beta1
Warning: preg_match(): Compilation failed: unrecognized character after (? or (?- at offset 4 in /in/fYihp on line 5 bool(false) NULL