FIX: Added parameter array checking

Updated regex to disregard placeholders within quotes.