fix regexp syntax error
use non-capturing groups for surrounding <p> tags