in reply to
regex: finding something that doesn't contain a quotation?
This is just a quick suggestion
based on my understanding of your question...
$filecontents =~ /.*?$blah\.([\w-]+)\(([^"]*)\)\s*;/;
#not really sure what $blah is holding but
#the [\w-] can replace your [0-9a-zA-Z_\-] character class
#and \(([^"]*)\) is a greedy way of saying
#anything inside of parens that is not a quote.
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo