update for new hook

dont create regexes everytime parse is called.
data has postData and uid