bugfix: args to be passed to the pcre_exec was incorrect