in reply to ASCII to HTML

Most of the regexes I have seen do something like this:
$ascii =~ s/\n\n/<p>/g; $ascii =~ s/\n/<br>/g;