Programación en PHP/Intermedio/Regexp

<?php
if (isset($_POST['muestra'])) {
	echo 'hola, '. htmlentities($_POST['nombre'])
	.', tu animal favorito es:'. htmlentities($_POST['animal']);
}
else {
?>
<from method="post" action="?">
¿cual es tu nombre?
<input type="text" name="nombre"/>
¿cual es tu animal favorito?
<select name="animal">
<option>perro</option>
<option>gato</option>
<option>ave</option>
</select>
<input type="submit" name="muestra" value="Siguiente">
</form>
<?php
}
?>